IDialogOptions
An interface used to configure the content and behavior of a modal dialog displayed via the showDialog()
method.
Inherited from the following class(es):
The name of the component to render inside the dialog.
This component should be registered in the component collection used by the application (e.g., in ReactElementFactory
for React and HTML/JS/CSS, AngularComponentFactory
for Angular, or app.component()
for Vue.js).
- Type:
- string readonly
- Implemented in:
- IDialogOptions
A CSS class to apply to the root element of the dialog for custom styling.
- Type:
- string readonly
- Implemented in:
- IPopupOptionsBase
A callback function executed when users click the Apply button in the dialog.
This function should return true
to close the dialog or false
to keep it open (for example, if validation fails).
- Type:
- () => boolean readonly
- Return Value:
-
true
to close the dialog orfalse
to keep it open.
- Implemented in:
- IDialogOptions
- See also:
- onCancel
A callback function executed when users click the Cancel button in the dialog.
- Type:
- () => void readonly
- Implemented in:
- IPopupOptionsBase
A callback function executed when the dialog is opened.
- Type:
- () => void readonly
- Implemented in:
- IPopupOptionsBase
Copyright © 2025 Devsoft Baltic OÜ. All rights reserved.