Alert
A component for displaying alerts
Preview
Attributes
Property | Description | Attribute | Type | Default |
---|---|---|---|---|
type | The type of alert component changes the color and icon of the alert | type | "info" | "error" | "warn" | "info" |
closable | Makes the alert closable | closable | boolean | false |
Methods
Method | Description | Returns |
---|---|---|
close | Closes the alert | void |