Toast presents a message to the user, in the bottom right corner, managed through a <button>
HTML element and the popover API
.
<ui-toast></ui-toast>
// JavaScript
const toast = document.querySelector('ui-toast');
toast.showToast('Message', 'type', duration);