function destroy() {
      this.el.removeEventListener("mousedown", this.onClick, false);
      this.el.removeEventListener("mouseover", this.onMouseover, false);
      this.el.removeEventListener("touchstart", this.onClick, false);
      if (this.active) {
        this.dropdown.activeItem = null;
      }
      // This element has already been removed by {@link Dropdown#clear}.
      this._el = null;
    }
/**
     * Try to free resources and perform other cleanup operations.
     */
Try to free resources and perform other cleanup operations.
Try to free resources and perform other cleanup operations .
function destroy() {
      this.el.removeEventListener("mousedown", this.onClick, false);
      this.el.removeEventListener("mouseover", this.onMouseover, false);
      this.el.removeEventListener("touchstart", this.onClick, false);
      if (this.active) {
        this.dropdown.activeItem = null;
      }
      this._el = null;
    }
function destroy ( ) { this . el . removeEventListener ( "mousedown" , this . onClick , false ) ; this . el . removeEventListener ( "mouseover" , this . onMouseover , false ) ; this . el . removeEventListener ( "touchstart" , this . onClick , false ) ; if ( this . active ) { this . dropdown . activeItem = null ; } this . _el = null ; }
Try to free resources and perform other cleanup operations.
Try to free resources and perform other cleanup operations .
// This element has already been removed by {@link Dropdown#clear}.