ascript">
  // 'rounded' is the class I'm applying to the toast
  M.toast({html: 'I am a toast!', classes: 'rounded'});
        </code></pre>
      </div>


      <div id="dismissal" class="scrollspy section">
        <h3 class="header">Dismiss a Toast Programatically</h3>
        <p>To remove a specific toast using JavaScript, access the <code class="language-javascript">M_Toast</code> toast HTML element and call the dismiss function</p>

        <pre><code class="language-javascript">
  // Get toast DOM E