Package: | Ext.ensible.cal |
Defined In: | ColorPalette.js |
Class: | ColorPalette |
Extends: | Object |
Config Options | Defined By | |
---|---|---|
handler : Function Optional. A function that will handle the select event of this color palette.
The handler is passed the following par... Optional. A function that will handle the select event of this color palette.
The handler is passed the following parameters:
| ColorPalette |
Method | Defined By | |
---|---|---|
ColorPalette( Object config )
Create a new ColorPalette Create a new ColorPalette Parameters:
| ColorPalette | |
select( Number colorId , [Boolean suppressEvent ] )
:
voidSelects the specified color in the palette (fires the select event) Selects the specified color in the palette (fires the select event) Parameters:
| ColorPalette |