# DialogShowEvent

typedef

An event fired after [`show`](module_ui_dialog_dialog-Dialog.md#function-show) is called. You can use it to customize the behavior of any dialog.

```js
import { DialogViewPosition } from '@ckeditor/ckeditor5-ui';

// ...

// 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' } );
```

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-ui/src/dialog/dialog.ts#L558)

<a id="properties">

## Properties

<a id="member-args">

### `args: [ dialogDefinition: DialogDefinition ]`

<a id="member-name">

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

#### Value

`object`

## Fired by

* [Dialog#show](module_ui_dialog_dialog-Dialog.md#event-show)

---

Full index of the CKEditor 5 API reference: [llms.txt](llms.txt)
