The Bulma package does not come with any JavaScript.
Here is however an implementation example, which sets click handler for delete elements of all notifications on the page, in Vanilla Javascript.
<div class="notification">
<button class="delete"></button>
Lorem ipsum
</div>document.addEventListener('DOMContentLoaded', () => {
(document.querySelectorAll('.notification .delete') || []).forEach(($delete) => {
$notification = $delete.parentNode;
$delete.addEventListener('click', () => {
$notification.parentNode.removeChild($notification);
});
});
});Remember, these are just implementation examples. The Bulma package does not come with any JavaScript.