up airwatch imports
This commit is contained in:
parent
e815c56815
commit
4e57a2368a
17 changed files with 169 additions and 79 deletions
|
@ -1,29 +1,19 @@
|
|||
import {Component, ElementRef, Input} from '@angular/core';
|
||||
import {CommonModule} from '@angular/common';
|
||||
|
||||
@Component({
|
||||
selector: 'sae-alert-box',
|
||||
standalone: true,
|
||||
imports: [CommonModule],
|
||||
// standalone: true,
|
||||
imports: [],
|
||||
templateUrl: './alert-box.html',
|
||||
styleUrl: './alert-box.scss'
|
||||
})
|
||||
export class AlertBox {
|
||||
@Input() public message = "";
|
||||
@Input() public alertKind = "warning";
|
||||
|
||||
constructor(private host: ElementRef<HTMLElement>) {
|
||||
}
|
||||
|
||||
@Input() public _alertKind = "warning";
|
||||
|
||||
get alertKind(): string {
|
||||
return this._alertKind;
|
||||
}
|
||||
|
||||
set alertKind(value: string) {
|
||||
this._alertKind = value;
|
||||
}
|
||||
|
||||
// whatEver function name you want to give
|
||||
onCloseClicked() {
|
||||
this.host.nativeElement.remove();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue