For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /server-editor/interfaces/ModalDialogCreationParams.md.

Interface: ModalDialogCreationParams experimental

Beta

Represents parameters to create a modal dialog

Properties

canUserDismiss?

optional canUserDismiss?: boolean

Beta

Remarks

Determines if the panel can be dismissed by the user actions. If undefined, it will be true.


height?

optional height?: number

Beta

Remarks

Panel height for the dialog


onActiveRequestChange?

optional onActiveRequestChange?: (requestId) => void

Beta

Parameters

requestId

string | undefined

Returns

void

Remarks

Callback to notify changes in active request


title?

optional title?: LocalizedString

Beta

Remarks

Dialog title


uniqueId?

optional uniqueId?: string

Beta

Remarks

Optional user defined unique identifier


width?

optional width?: number

Beta

Remarks

Panel width for the dialog