Overview
Input |
Type |
Default |
Description |
type |
string |
success |
Defines alert type class (alert-{type}). Allow to use Bootstrap 4 classes like "success", "info", "warning" and "danger". |
skippable |
boolean |
false |
Defines if alert can be dismissed |
displayTime |
number |
false |
Defines alert display time. If not defined alert will persist |
Outputs
Output |
Type |
Description |
close |
EventEmitter |
Emits event when alert is closed. Has no payload |
Example
HTML:
TypeScript: