Toast
Basic Textual Toast
Show code
Toast using HTML as a text
Show code
// Non sticky version $.toast("Lorem ipsum dolor sit amet,consectetur adipisicing elit. Hic,consequuntur doloremque eveniet eius eaque dicta repudiandae illo ullam. Minima itaque sint magnam dolorum asperiores repudiandae dignissimos expedita,voluptatum vitae velit.") // Sticky version $.toast({text:"Lorem ipsum dolor sit amet,consectetur adipisicing elit. Hic,consequuntur doloremque eveniet eius eaque dicta repudiandae illo ullam. Minima itaque sint magnam dolorum asperiores repudiandae dignissimos expedita,voluptatum vitae velit.",hideAfter:false})
// Non sticky $.toast('Lets test some HTML stuff... HTMLOpenTaga href="#"HTMLCloseTaggithubHTMLOpenTag/aHTMLCloseTag') // sticky $.toast({text:'HTMLOpenTagstrongHTMLCloseTagRemember!HTMLOpenTag/strongHTMLCloseTag You can HTMLOpenTagspan class="font-medium text-red-600"HTMLCloseTagalwaysHTMLOpenTag/spanHTMLCloseTag introduce your own × HTML and HTMLOpenTagspan class="font-medium"HTMLCloseTagCSSHTMLOpenTag/spanHTMLCloseTag in the toast.',hideAfter:false})