code: function() {
  
        var toast;
  
        toast = document.createElement('div');
        toast.setAttribute('class', 'hashedit-toast');
        toast.innerHTML = 'Sample Toast';
  
        // append toast
        if (hashedit.current) {
          hashedit.current.container.appendChild(toast);
        } else {
          document.body.appendChild(toast);
        }
  
      }
docs: Create the toast