The notification is a simple colored block meant to draw the attention to the user about something. As such, it can
be used as a pinned notification in the corner of the viewport. That's why it supports the use of the
delete
element.
--- title: Notification layout: docs theme: library doc-tab: elements doc-subtab: notification breadcrumb: - home - documentation - elements - elements-notification meta: colors: true sizes: false variables: true --- {% capture notification %}
The notification is a simple colored block meant to draw the attention to the user about something. As such, it can
be used as a pinned notification in the corner of the viewport. That's why it supports the use of the
delete
element.
The notification element is available in all the
different colors defined by the
$colors
Sass map.
is-light
modifier to
obtain the light version of the notification.
The Bulma package does not come with any JavaScript. Here is however an implementation example,
which sets the click
handler for Bulma delete
elements, anywhere on the page, in vanilla
JavaScript.