ng-implementation/my-workspace/projects/sae-lib/alert-box/alert-box.ts

23 lines
405 B
TypeScript
Raw Normal View History

2025-08-08 11:31:27 +02:00
import {Component, Input} from '@angular/core';
@Component({
selector: 'sae-alert-box',
imports: [],
2025-08-08 11:31:27 +02:00
templateUrl: './alert-box.html',
styleUrl: './alert-box.scss'
})
export class AlertBox {
@Input() public message = "";
@Input() public _alertKind = "warning";
2025-08-08 11:31:27 +02:00
get alertKind(): string {
return this._alertKind;
}
set alertKind(value: string) {
this._alertKind = value;
}
}