Lightweight, framework-agnostic toasts. Change the options, watch the code update, and click Show toast.
Ready-made examples. They use the manager settings above and simulate network calls, so they work offline.
dismissOnClick: false that updates the toast.
handle.update().
isHtml: true renders HTML.
Never use isHtml with untrusted text: the library has no sanitizer, so
sanitize it yourself or leave isHtml off.
<style> element, no style attribute, no
eval. Load dist/styles.css yourself.
role="alert"; the rest use role="status".toast.destroy() to remove every container, timer and listener (the
Clear all button does).