Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | 1x 3x 3x | import { ChangeDetectionStrategy, Component, Injector, Input } from '@angular/core';
import { TamuAbstractBaseComponent } from '../shared/tl-abstract-base.component';
@Component({
selector: 'tl-alert-component',
templateUrl: './tl-alert.component.html',
styleUrls: ['./tl-alert.component.scss'],
changeDetection: ChangeDetectionStrategy.Default
})
export class TlAlertComponent extends TamuAbstractBaseComponent {
/** Used to override the theme variant. */
@Input() themeVariant;
/** Used to override the type of alert. */
@Input() alertType: 'basic' | 'self-closing' | 'custom';
/** Used to override if close button has to be present for an alert. */
@Input() closeable: 'true' | 'false' = 'true';
@Input() closeTimer;
// tslint:disable-next-line:unnecessary-constructor
constructor(injector: Injector) {
super(injector);
}
}
|