ColorPickerDialog

ColorPickerDialog

new ColorPickerDialog()

Source:

A Dialog window containing a ColorPicker. It can be opened programatically and closes automatically on the appropriate user interactions like hitting ESC or clicking apply. ColorPickerDialog inherits all options of ColorPicker.

Extends

Members

_modal :HTMLDiv

Source:
Inherited From:

The container blocking user interaction Has class .aux-dialog-modal.

Type:
  • HTMLDiv

colorpicker :ColorPicker

Source:

The ColorPicker widget.

Type:

Methods

close()

Source:
Inherited From:

Close the dialog. The node is removed from DOM if auto_remove is set to true.

open(xopt, yopt, focusopt)

Source:
Inherited From:

Open the dialog. Optionally set x and y position regarding anchor.

Parameters:
Name Type Attributes Description
x String <optional>

New X-position of the dialog.

y String <optional>

New Y-position of the dialog.

focus HTMLElement <optional>

Element to receive focus after opening the dialog.

reposition()

Source:
Inherited From:

Reposition the dialog to the current x and y position.

Events

close

Source:
Inherited From:

Is fired when the dialog is closed.

open

Source:
Inherited From:

Is fired when the dialog is opened.