The dialog button configuration.
Set the dialog button configuration.
New dialog button configuration.
The Svelte configuration object or HTML string content.
Set the Svelte configuration object or HTML string content.
New Svelte configuration object or HTML string content.
The default button ID to focus initially.
Set the default button ID to focus initially.
New default button ID to focus initially.
The dialog draggable state; draggable when true.
Set the dialog state; draggable when true.
New dialog draggable state; draggable when true.
When true auto-management of app focus is enabled.
Set the dialog auto-management of app focus.
New dialog auto-management of app focus.
When true the first focusable element that isn't a button is focused.
Set the dialog first focusable element state.
New dialog first focusable element state.
When focusAuto
and focusKeep
is true; keeps internal focus.
Set the dialog focusKeep
state. When focusAuto
and focusKeep
is true; keeps internal focus.
New dialog focusKeep
state.
When true the dialog is minimizable.
Set the dialog minimizable
state. When true the dialog is minimizable.
New dialog minimizable
state.
When true a modal dialog is displayed.
Set the dialog modal
state. When true a modal dialog is displayed.
New dialog modal
state.
Additional options for modal dialog display.
Set additional options for modal dialog display.
New additional options for modal dialog display.
When true and an error is raised in dialog callback functions post a UI error notification.
Set the dialog notifyError
state. When true and an error is raised in dialog callback functions post a UI error
notification.
New dialog notifyError
state.
Callback invoked when dialog is closed; no button option selected. When defined as a string any matching function by name exported from content Svelte component is invoked.
Set callback invoked when dialog is closed; no button option selected. When defined as a string any matching function by name exported from content Svelte component is invoked..
New dialog onClose
state.
Dialog rejectClose
state. When true and a Promise has been created by TJSDialog.wait
and the Promise is not in the process of being resolved or rejected on close of the dialog any onClose
function is invoked and any result that is undefined will cause the Promise to then be rejected..
Set the dialog rejectClose
state.
New dialog rejectClose
state.
When true the dialog is resizable.
Set the dialog resizable
state. When true the dialog is resizable.
New dialog resizable
state.
When true and resolving any Promises and there are undefined results from any button callbacks the button ID is resolved.
Set the dialog resolveId
state. When true and resolving any Promises and there are undefined results from any
button callbacks the button ID is resolved.
New dialog resolveId
state.
The dialog window title.
Set the dialog window title.
New dialog window title.
Transition options for the dialog.
Set transition options for the dialog.
New transition options for the dialog.
A specific z-index for the dialog. Pass null for the dialog to act like other applications in regard bringing to top when activated.
Set specific z-index for the dialog.
New z-index for the dialog.
Provides a way to safely get this dialogs data given an accessor string which describes the
entries to walk. To access deeper entries into the object format the accessor string with .
between entries
to walk.
The path / key to set. You can set multiple levels.
Optional
defaultValue: anyA default value returned if the accessor is not found.
Value at the accessor.
Merge provided data object into Dialog data.
Provides a way to safely set this dialogs data given an accessor string which describes the
entries to walk. To access deeper entries into the object format the accessor string with .
between entries
to walk.
Automatically the dialog data will be updated in the associated DialogShell Svelte component.
The path / key to set. You can set multiple levels.
Value to set.
True if successful.
Provides storage for all dialog options through individual accessors and
get
,merge
,replace
andset
methods that safely access and update data changed to the mounted DialogShell component reactively.