Documentation

DialogOptions

Properties:
Name Type Description
key String

The module key of the page you want to open as a dialog

size String

Opens the dialog at a preset size: small, medium, large, x-large or maximum (full screen).

width Number | String

overrides size, define the width as a percentage (append a % to the number) or pixels.

height Number | String

overrides size, define the height as a percentage (append a % to the number) or pixels.

chrome Boolean

(optional) opens the dialog with heading and buttons.

header String

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

submitText String

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

cancelText String

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