X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/25ef3491bd9ae007ff1fc2b0d7943e6eaaccf775..92c2b89db26be16707f4a805d3303ab2531006e1:/docs/output/Ext.ColorPalette.html diff --git a/docs/output/Ext.ColorPalette.html b/docs/output/Ext.ColorPalette.html index 09c6d50a..bd25ed5a 100644 --- a/docs/output/Ext.ColorPalette.html +++ b/docs/output/Ext.ColorPalette.html @@ -1,18 +1,11 @@ -
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