Class: Dialog

Granite.author.design. Dialog


new Dialog(editable)

The Design Dialog class
A Design Dialog represents a Component Design Dialog opened on an Editable.

Parameters:
Name Type Description
editable Granite.author.Editable

The Editable on which the Dialog will be opened

Source:
design/design.Dialog.js

Extends

Methods


getConfig()

Returns the configuration properties of the dialog

Inherited From:
Source:
ui/ui.Dialog.js
Returns:
Type
Granite.author.ui.Dialog~DialogConfig

getRequestData()

Returns the additional data to be sent when requesting the Dialog

Inherited From:
Source:
ui/ui.Dialog.js
Returns:
Type
Object

onClose()

The dialog has been closed

Callback

Inherited From:
Source:
ui/ui.Dialog.js

onFocus()

The dialog is focused

Callback

Inherited From:
Source:
ui/ui.Dialog.js

onOpen()

The dialog has been opened

Callback

Inherited From:
Source:
ui/ui.Dialog.js

onReady()

The dialog is ready

Callback

Inherited From:
Source:
ui/ui.Dialog.js

onSuccess(currentDialog, currentFloatingDialog)

Parameters:
Name Type Description
currentDialog jQuery

The jQuery element representing the current dialog

currentFloatingDialog jQuery

The jQuery element representing the current floating dialog

Inherited From:
Source:
edit/edit.Dialog.js
Fires: