libs/ui/loading-overlay/src/lib/overlay/loading-overlay.component.ts
The loading overlay component. Implemented by TsLoadingOverlayDirective
See {
changeDetection | ChangeDetectionStrategy.OnPush |
encapsulation | ViewEncapsulation.None |
exportAs | tsLoadingOverlay |
host | { |
selector | ts-loading-overlay |
styleUrls | ./loading-overlay.component.scss |
templateUrl | ./loading-overlay.component.html |
import {
ChangeDetectionStrategy,
Component,
ViewEncapsulation,
} from '@angular/core';
/**
* The loading overlay component. Implemented by {@link TsLoadingOverlayDirective}
*
* @example
* See {@link TsLoadingOverlayDirective}
*/
@Component({
selector: 'ts-loading-overlay',
styleUrls: ['./loading-overlay.component.scss'],
host: { class: 'ts-loading-overlay' },
templateUrl: './loading-overlay.component.html',
changeDetection: ChangeDetectionStrategy.OnPush,
encapsulation: ViewEncapsulation.None,
exportAs: 'tsLoadingOverlay',
})
export class TsLoadingOverlayComponent {}