remove() {
    this.element.parentNode.removeChild(this.element);
    delete this.element;

    this.emit('remove');
  }
/**
   * Removes the component from the DOM
   */
Removes the component from the DOM
Removes the component from the DOM
remove() {
    this.element.parentNode.removeChild(this.element);
    delete this.element;
    this.emit('remove');
  }
remove ( ) { this . element . parentNode . removeChild ( this . element ) ; delete this . element ; this . emit ( 'remove' ) ; }
Removes the component from the DOM
Removes the component from the DOM