Dialog~DialogOptions

Properties

key

The module key of a dialog, or the key of a page or web-item that you want to open as a dialog.

size

Opens the dialog at a preset size: small, medium, large, x-large or fullscreen (with chrome).

width

if size is not set, define the width as a percentage (append a % to the number) or pixels.

height

if size is not set, define the height as a percentage (append a % to the number) or pixels.

chrome

(optional) opens the dialog with heading and buttons.

header

(optional) text to display in the header if opening a dialog with chrome.

submitText

(optional) text for the submit button if opening a dialog with chrome.

cancelText

(optional) text for the cancel button if opening a dialog with chrome.

customData

(optional) custom data object that can be accessed from the actual dialog iFrame.

closeOnEscape

(optional) if true, pressing ESC inside the dialog will close the dialog (default is true).

buttons

(optional) an array of custom buttons to be added to the dialog if opening a dialog with chrome.

hint

(optional) Suggested actions or helpful info that will be added to the dialog if opening with chrome.

Rate this page: