migrate alert-box in lib, up route airwatch demo layout
This commit is contained in:
parent
fe63fec58f
commit
d0b5ad10f6
15 changed files with 174 additions and 9 deletions
|
@ -1,14 +1,16 @@
|
|||
import {Component, Input} from '@angular/core';
|
||||
import {NgClass} from '@angular/common';
|
||||
|
||||
@Component({
|
||||
selector: 'app-alert-box',
|
||||
imports: [
|
||||
],
|
||||
selector: 'sae-alert-box',
|
||||
imports: [],
|
||||
templateUrl: './alert-box.html',
|
||||
styleUrl: './alert-box.scss'
|
||||
})
|
||||
export class AlertBox {
|
||||
@Input() public message = "";
|
||||
|
||||
@Input() public _alertKind = "warning";
|
||||
|
||||
get alertKind(): string {
|
||||
return this._alertKind;
|
||||
}
|
||||
|
@ -16,7 +18,5 @@ export class AlertBox {
|
|||
set alertKind(value: string) {
|
||||
this._alertKind = value;
|
||||
}
|
||||
@Input() public _alertKind: string = "warning";
|
||||
@Input() public message: string = "";
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue