call the M.toast() function programatically in JavaScript.</p>
        <pre><code class="language-javascript">
  M.toast({html: 'I am a toast!'})
        </code></pre>
        <p>One way to add this into your application is to add this as an onclick event to a button.</p>
        <pre><code class="language-markup">
  &lt;a onclick="M.toast({html: 'I am a toast'})" class="btn">Toast!&lt;/a>
        </code></pre>
      </div>


      <div id="options" class="scrollspy section">
        <h3 class="header">Opti