X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/c930e9176a5a85509c5b0230e2bff5c22a591432..25ef3491bd9ae007ff1fc2b0d7943e6eaaccf775:/docs/output/Ext.ColorPalette.html diff --git a/docs/output/Ext.ColorPalette.html b/docs/output/Ext.ColorPalette.html index 6f28e72d..09c6d50a 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
xtype:colorpalette
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