Typedef

DialogShowEvent (ui/dialog)

@ckeditor/ckeditor5-ui/src/dialog/dialog

typedefobject

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

import { DialogViewPosition } from 'ckeditor5/src/ui.js';

// ...

// Changes the position of the "Find and Replace" dialog.
editor.plugins.get( 'Dialog' ).on( 'show:findAndReplace', ( evt, data ) => {
	Object.assign( data, { position: DialogViewPosition.EDITOR_BOTTOM_CENTER } );
}, { priority: 'high' } );

Filtering

Properties

  • args : tuple

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

Fired by