code: function(element) {
          element = $(element);
  
          // Pass the element since it gets removed
          this.fireEvent('hiding', [element]);
  
          element.transitionend(function() {
              element.remove();
              this.fireEvent('hidden');
          }.bind(this)).conceal();
      }
docs: Hide the toast after the duration is up.
  Also remove the element from the DOM once the transition is complete.
  
  @param {jQuery} element