Class: ItemSelectorDialog

ItemSelectorDialog()

Shows a dialog and handles the selected item.

Constructor

new ItemSelectorDialog()

Deprecated:
  • As of Cavanaugh (7.4.x), replaced by `openSelectionModal`
Source:

Members

(static, non-null) STATE :Object

State definition.
Type:
  • Object
Source:

buttonAddLabel :String

Label for the Add button.
Type:
  • String
Source:

buttonCancelLabel :String

Label for the Cancel button.
Type:
  • String
Source:

dialogClasses :String

CSS classes to pass to the dialog.
Type:
  • String
Source:

eventName :String

Event name.
Type:
  • String
Source:

selectedItem :Object|Array.<Object>

The selected item(s) in the dialog.
Type:
  • Object | Array.<Object>
Source:

title :String

Dialog's title.
Type:
  • String
Source:

url :String

URL that opens the dialog.
Type:
  • String
Source:

zIndex :Number

Dialog's zIndex.
Type:
  • Number
Source:

Methods

close()

Closes the dialog.
Source:

open()

Opens the dialog.
Source: