Sign up (with export icon)

DialogHideEvent

Api-typedef icon typedef

An event fired after hide is called. You can use it to customize the behavior of any dialog.

// Logs after the "Find and Replace" dialog gets hidden
editor.plugins.get( 'Dialog' ).on( 'hide:findAndReplace', () => {
	console.log( 'The "Find and Replace" dialog was hidden.' );
} );
Copy code

Properties

  • args : tuple

  • name : 'hide' | `hide:${ string }`

Fired by