Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce id fermentum quam. Proin sagittis, nibh id hendrerit imperdiet, elit sapien laoreet elit
Notification
Notifications to alert users
Types
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce id fermentum quam. Proin sagittis, nibh id hendrerit imperdiet, elit sapien laoreet elit
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce id fermentum quam. Proin sagittis, nibh id hendrerit imperdiet, elit sapien laoreet elit
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce id fermentum quam. Proin sagittis, nibh id hendrerit imperdiet, elit sapien laoreet elit
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce id fermentum quam. Proin sagittis, nibh id hendrerit imperdiet, elit sapien laoreet elit
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce id fermentum quam. Proin sagittis, nibh id hendrerit imperdiet, elit sapien laoreet elit
Icons
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce id fermentum quam. Proin sagittis, nibh id hendrerit imperdiet, elit sapien laoreet elit
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce id fermentum quam. Proin sagittis, nibh id hendrerit imperdiet, elit sapien laoreet elit
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce id fermentum quam. Proin sagittis, nibh id hendrerit imperdiet, elit sapien laoreet elit
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce id fermentum quam. Proin sagittis, nibh id hendrerit imperdiet, elit sapien laoreet elit
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce id fermentum quam. Proin sagittis, nibh id hendrerit imperdiet, elit sapien laoreet elit
Auto-close
Notification will close automatically after duration
.
Opening with code
API
Name | Description | Type | Values | Default |
---|---|---|---|---|
type | Type (color), optional | String | is-white , is-black , is-light , is-dark , is-primary , is-info , is-success , is-warning , is-danger | — |
active | Whether the notification is visible or not | boolean | — | true |
showClose | Display an X button that closes the notification | boolean | — | true |
autoClose | Automatically close the notification after duration . Doesn't apply when opening programmatically | boolean | — | false |
duration | Duration notification will remain on screen, optional | Number | — | 2000 |
icon | Show icon on left-side of the notification. If set to true , icon will be determined from type property., optional | String, Boolean | — | — |
iconPack | Fontawesome icon pack to use. By default the Icon component uses fas , optional | String | , , etc... | — |
ariaCloseLabel | Label for the close button, to be read by accessibility screenreaders, optional | String | — | — |
message | Text for notification, when used programmatically | String | — | — |
position | Where the notification will show on the screen when used programmatically, optional | String | , , , , ,
| is-top-right |