X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/c930e9176a5a85509c5b0230e2bff5c22a591432..10a866c12701c0a0afd0ac85dcdcf32a421514ac:/docs/output/Ext.ColorPalette.html?ds=inline diff --git a/docs/output/Ext.ColorPalette.html b/docs/output/Ext.ColorPalette.html index 6f28e72d..66d2ae45 100644 --- a/docs/output/Ext.ColorPalette.html +++ b/docs/output/Ext.ColorPalette.html @@ -1,18 +1,18 @@ -
Properties Methods Events Config Options Direct Link
Observable
  Component
    ColorPalette

Class Ext.ColorPalette

Package:Ext
Defined In:ColorPalette.js
Class:ColorPalette
Extends:Component
xtype:colorpalette
Simple color palette class for choosing colors. The palette can be rendered to any container.
+
Observable
  Component
    ColorPalette

Class Ext.ColorPalette

Package:Ext
Defined In:ColorPalette.js
Class:ColorPalette
Extends:Component
Simple color palette class for choosing colors. The palette can be rendered to any container.
Here's an example of typical usage:
var cp = new Ext.ColorPalette({value:'993300'});  // initial selected color
 cp.render('my-div');
 
 cp.on('select', function(palette, selColor){
     // do something with selColor
-});

Config Options

Config OptionsDefined By
 allowDomMove : Boolean
Whether the component can move the Dom node when rendering (defaults to true).
Component
 allowReselect : Boolean
If set to true then reselecting a color that is already selected fires the select event
ColorPalette