diff --git a/views/pages/composants.ejs b/views/pages/composants.ejs index 592662b..bcf5c68 100644 --- a/views/pages/composants.ejs +++ b/views/pages/composants.ejs @@ -278,6 +278,7 @@
+<button + type="button" + class="button is-primary" + onclick="showToastr('Ceci est une notification', true);" +> + Afficher une notification +</button> + <div id="toastr"> <button class="delete" onclick="hideToastr()" aria-label="Masquer la notification"></button> <span></span>