Version 1.0 #26
1 changed files with 21 additions and 0 deletions
|
@ -278,6 +278,7 @@
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<h2 id="notifications">Les notifications</h2>
|
<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>
|
<button type="button" class="button is-primary" onclick="showToastr('Ceci est une notification');">Afficher une notification</button>
|
||||||
<div id="toastr">
|
<div id="toastr">
|
||||||
<button class="delete" onclick="hideToastr()" aria-label="Masquer la notification"></button>
|
<button class="delete" onclick="hideToastr()" aria-label="Masquer la notification"></button>
|
||||||
|
@ -292,6 +293,26 @@
|
||||||
Afficher une notification
|
Afficher une notification
|
||||||
</button>
|
</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">
|
<div id="toastr">
|
||||||
<button class="delete" onclick="hideToastr()" aria-label="Masquer la notification"></button>
|
<button class="delete" onclick="hideToastr()" aria-label="Masquer la notification"></button>
|
||||||
<span></span>
|
<span></span>
|
||||||
|
|
Loading…
Reference in a new issue