Documentation Docs
Documentation Docs

IDialogOptions

An interface used to configure the content and behavior of a modal dialog displayed via the showDialog() method.

View Demo

Inherited from the following class(es):

Methods
Events
componentName property

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
cssClass property

A CSS class to apply to the root element of the dialog for custom styling.

Type:
string readonly
Implemented in:
IPopupOptionsBase
data property

An object with component props.

Type:
any readonly
Implemented in:
IDialogOptions
onApply property

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 or false to keep it open.

Implemented in:
IDialogOptions
See also:
onCancel
onCancel property

A callback function executed when users click the Cancel button in the dialog.

Type:
() => void readonly
Implemented in:
IPopupOptionsBase
onShow property

A callback function executed when the dialog is opened.

Type:
() => void readonly
Implemented in:
IPopupOptionsBase
title property

The dialog's title.

Type:
string readonly
Implemented in:
IPopupOptionsBase

Copyright © 2025 Devsoft Baltic OÜ. All rights reserved.

Your cookie settings

We use cookies to make your browsing experience more convenient and personal. Some cookies are essential, while others help us analyse traffic. Your personal data and cookies may be used for ad personalization. By clicking “Accept All”, you consent to the use of all cookies as described in our Terms of Use and Privacy Statement. You can manage your preferences in “Cookie settings.”

Your renewal subscription expires soon.

Since the license is perpetual, you will still have permanent access to the product versions released within the first 12 month of the original purchase date.

If you wish to continue receiving technical support from our Help Desk specialists and maintain access to the latest product updates, make sure to renew your subscription by clicking the "Renew" button below.

Your renewal subscription has expired.

Since the license is perpetual, you will still have permanent access to the product versions released within the first 12 month of the original purchase date.

If you wish to continue receiving technical support from our Help Desk specialists and maintain access to the latest product updates, make sure to renew your subscription by clicking the "Renew" button below.