src/main/javascript/dialog/floatz.dialog.dialog.js
/**
	 * Hide glass.
	 *
	 * @param hideHandler Handler executed after the glass got hidden
	 */
Hide glass.
@param hideHandler Handler executed after the glass got hidden
Hide glass . @param hideHandler Handler executed after the glass got hidden
hide(hideHandler) {
		if (this._body.hasClass(ANIMATE_GLASS_FADEIN)) {
			this._body.animate()
				.end(() => {
					this._body.removeClass(ANIMATE_GLASS_FADEOUT, DIALOG_GLASS);
				})
				.trigger((event) => {
					this._body.replaceClass(ANIMATE_GLASS_FADEIN, ANIMATE_GLASS_FADEOUT);
					this._parent
						.removeEvent(EVENT_CLICK, _handleGlassClick(this, event))
						.removeEvent(EVENT_TOUCHSTART, _handleGlassClick(this, event));
					if (hideHandler) {
						hideHandler();
					}
				})
			;
		}
	}
hide ( hideHandler ) { if ( this . _body . hasClass ( ANIMATE_GLASS_FADEIN ) ) { this . _body . animate ( ) . end ( ( ) => { this . _body . removeClass ( ANIMATE_GLASS_FADEOUT , DIALOG_GLASS ) ; } ) . trigger ( ( event ) => { this . _body . replaceClass ( ANIMATE_GLASS_FADEIN , ANIMATE_GLASS_FADEOUT ) ; this . _parent . removeEvent ( EVENT_CLICK , _handleGlassClick ( this , event ) ) . removeEvent ( EVENT_TOUCHSTART , _handleGlassClick ( this , event ) ) ; if ( hideHandler ) { hideHandler ( ) ; } } ) ; } }
Hide glass.
Hide glass .