Skip to content

Commit e5c4a11

Browse files
Add clear also to demo.
1 parent 0ab77f0 commit e5c4a11

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

demo/index.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,10 @@ <h3><a id="method" class="anchor" href="#method" aria-hidden="true"><span
159159
Flash.dismiss(1);
160160
// Dismiss the flash with id of 1. Id is not the index of flash but instead a value returned by Flash.create()
161161
</pre>
162+
<pre class="prettyprint linenums">
163+
Flash.clear();
164+
// Dismisses all flashes shown.
165+
</pre>
162166
</div>
163167

164168
<div class="section">

0 commit comments

Comments
 (0)