ColorPanel
Ancestors
- None
Descendants
- None
See Also
- None
Constructors
Description
Creates a new ColorPanel window that's hidden by default.
Members
Description
Gets or sets whether the user may select a color with an alpha component in it (e.g., a semi-translucent color).
Description
Gets or sets the selected color in the color panel.
Description
Gets or sets whether the color panel is visible or hidden.
Methods
Description
Adds an event listener for various control level events. The first parameter is the name of the event, the second parameter is the function to call when the event happens (e.g., a callback).
Parameters
Name | Type | Description |
---|---|---|
eventName | string | The name of the event to start listening to. |
callback | function | The function that will be called when it occurs. |
Description
Removes an event listener for various application level events. The first parameter is the name of the event, the second parameter is the function that was originally given as the callback for addEventListener.
Parameters
Name | Type | Description |
---|---|---|
eventName | string | The name of the event to stop listening to. |
callback | function | The function that would have been called. |
Events
Description
Fires when the user selects a new color in the panel.