Ajout du composant toastr succès
This commit is contained in:
parent
b27cbd467b
commit
b0e6964205
1 changed files with 21 additions and 0 deletions
|
@ -278,6 +278,7 @@
|
|||
</pre>
|
||||
|
||||
<h2 id="notifications">Les notifications</h2>
|
||||
<h3>Erreur</h3>
|
||||
<button type="button" class="button is-primary" onclick="showToastr('Ceci est une notification');">Afficher une notification</button>
|
||||
<div id="toastr">
|
||||
<button class="delete" onclick="hideToastr()" aria-label="Masquer la notification"></button>
|
||||
|
@ -292,6 +293,26 @@
|
|||
Afficher une notification
|
||||
</button>
|
||||
|
||||
<div id="toastr">
|
||||
<button class="delete" onclick="hideToastr()" aria-label="Masquer la notification"></button>
|
||||
<span></span>
|
||||
</div>
|
||||
</pre>
|
||||
<h3>Succès</h3>
|
||||
<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>
|
||||
</div>
|
||||
<pre>
|
||||
<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>
|
||||
|
|
Loading…
Reference in a new issue