Class DialogOptions

Index

Properties

Properties

public allowMaximize: boolean

specifies if maximize button should be shown on the dialog

public args: any

custom arguments to be passed to the dialog

public autoSize: boolean

automatically determine size of the dialog based on its contents.

public autoSizeStartWidth: number

minimum width of the dialog when using autoSize option

public dialogReturnValueCallback: DialogReturnValueCallback

callback that is called after dialog is closed

public height: number

height of the dialog. if not specified, will be determined automatically based on the contents of the dialog

public html: HTMLElement

html element which will be used as contents of the dialog. You should use either html or url attribute, but not both.

public includeScrollBarPadding: boolean

include padding for adding a scrollbar

public showClose: boolean

specifies if close button should be shown on the dialog

public showMaximized: number

The dialog will be maximized when shown.

public title: string

Text displayed in the title bar of the dialog box. If not defined, it will default to the title of the page defined by url property.

public url: string

url of the page which is shown in the modal dialog. You should use either html or url attribute, but not both.

public width: number

width of the dialog. if not specified, will be determined automatically based on the contents of the dialog

public x: number

X coordinate of the dialog box.

public y: number

Y coordinate of the dialog box.