src/js/controls/Tab.js
function() {
		this.element.off( 'mousedown touchstart', this._onTabClickFn );
		this.closeElement.off( 'click touchstart', this._onCloseClickFn );
		if( this._dragListener ) {
			this.contentItem.off( 'destroy', this._dragListener.destroy, this._dragListener );
			this._dragListener.off( 'dragStart', this._onDragStart );
			this._dragListener = null;
		}
		this.element.remove();
	}
function() {
		this.element.off( 'mousedown touchstart', this._onTabClickFn );
		this.closeElement.off( 'click touchstart', this._onCloseClickFn );
		if( this._dragListener ) {
			this.contentItem.off( 'destroy', this._dragListener.destroy, this._dragListener );
			this._dragListener.off( 'dragStart', this._onDragStart );
			this._dragListener = null;
		}
		this.element.remove();
	}
function ( ) { this . element . off ( 'mousedown touchstart' , this . _onTabClickFn ) ; this . closeElement . off ( 'click touchstart' , this . _onCloseClickFn ) ; if ( this . _dragListener ) { this . contentItem . off ( 'destroy' , this . _dragListener . destroy , this . _dragListener ) ; this . _dragListener . off ( 'dragStart' , this . _onDragStart ) ; this . _dragListener = null ; } this . element . remove ( ) ; }
Destroys the tab

@private
@returns {void}
Destroys the tab