New to Kendo UI for Vue? Start a free 30-day trial

DialogProps

Interface

Represents the props of the Kendo UI for Vue Dialog component.

Definition

Package:@progress/kendo-vue-dialogs

Properties

appendTo?

string

Sets the CSS selector of the element to which the Dialog is appended. When you do not set it, the Dialog is appended to the body element.

Sets a CSS class on the wrapper element of the Dialog.

closeIcon?

boolean

Sets if the Dialog renders a Close button in the title bar.

Default:

true

Sets the styles of the Dialog content.

Sets a CSS class on the Dialog element.

dir?

string

Sets the dir HTML attribute of the Dialog. Use it to switch between LTR and RTL.

height?

string | number

Sets the height of the Dialog (see example).

id?

string

Sets the id of the title element. The Dialog uses it as its aria-labelledby value. When you do not set it, the Dialog generates a unique id.

minWidth?

string | number

Sets the minimum width of the Dialog.

onClose?

(event: DialogCloseEvent) => void

Fires when the user clicks the Close button in the title bar or presses Esc.

Parameters:eventDialogCloseEvent

onOverlayclick?

(event: any) => void

Fires when the user clicks the modal overlay of the Dialog.

Parameters:eventany

Sets the styles of the Dialog.

Sets the title of the Dialog (see example). When you do not set title or titleRender, the Dialog does not render a title bar or a Close button.

titleRender?

string | boolean | object | Function

Sets a custom template for the title. Accepts a Vue component, a render function, or a slot name.

width?

string | number

Sets the width of the Dialog (see example).

Sets the id of the wrapper element.