X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/6e39d509471fe9b4e2660e0d1631b350d0c66f40..f5240829880f87e0cf581c6a296e436fdef0ef80:/docs/output/Ext.ColorPalette.html diff --git a/docs/output/Ext.ColorPalette.html b/docs/output/Ext.ColorPalette.html index 66d2ae45..d8f3211e 100644 --- a/docs/output/Ext.ColorPalette.html +++ b/docs/output/Ext.ColorPalette.html @@ -1,18 +1,11 @@ -
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.
+
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