X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/530ef4b6c5b943cfa68b779d11cf7de29aa878bf..0494b8d9b9bb03ab6c22b34dae81261e3cd7e3e6:/docs/output/Ext.ColorPalette.html?ds=inline diff --git a/docs/output/Ext.ColorPalette.html b/docs/output/Ext.ColorPalette.html index eb49fdc4..7d592e71 100644 --- a/docs/output/Ext.ColorPalette.html +++ b/docs/output/Ext.ColorPalette.html @@ -1,4 +1,6 @@ -
Observable Component ColorPalette
Package: | Ext |
Defined In: | ColorPalette.js |
Class: | ColorPalette |
Extends: | Component |
Observable + Component + ColorPalette
Package: | Ext |
Defined In: | ColorPalette.js |
Class: | ColorPalette |
Extends: | Component |
var cp = new Ext.ColorPalette({value:'993300'}); // initial selected color
cp.render('my-div');
@@ -482,7 +484,12 @@ Or a shorthand syntax:
scope: this
});
String/HTMLElement el
)
:
- voidel
: String/HTMLElementObject overrides
)
+ voidel
: String/HTMLElementFunction fn
, [Object scope
], [Array args
] )
+ :
+ Ext.Componentfn
: Functionscope
: Objectargs
: ArrayExt.Component
Object overrides
)
:
Ext.Componentoverrides
: ObjectExt.Component
fn
: FunctionExt.Container
String/Class xtype
)
+true, the container will be returned.fn
: FunctionExt.Container
String/Ext.Component/Class xtype
, [Boolean shallow
] )
:
- Ext.Containerxtype
: String/ClassExt.Container
String eventName
, Object... args
)
+ Ext.Containerxtype
: String/Ext.Component/Classshallow
: BooleanExt.Container
String eventName
, Object... args
)
:
BooleanFires the specified event with the passed parameters (minus the event name).
@@ -597,7 +606,7 @@ false to cancel hiding the component. Fires the 'h...hidden
.Ext.Component
Boolean
String xtype
, [Boolean shallow
] )
+ BooleanBoolean
String/Ext.Component/Class xtype
, [Boolean shallow
] )
:
BooleanTests whether or not this Component is of a specific xtype. This can test whether this Component is descended @@ -609,7 +618,11 @@ to participate in determination of inherited xtypes.
var t = new Ext.form.TextField();
var isText = t.isXType('textfield'); // true
var isBoxSubclass = t.isXType('box'); // true, descended from BoxComponent
-var isBoxInstance = t.isXType('box', true); // false, not a direct BoxComponent instance
xtype
: Stringshallow
: Booleanxtype
: String/Ext.Component/Classvar c = new Ext.Component();
+console.log(c.isXType(c));
+console.log(c.isXType(Ext.Component));
shallow
: BooleanBoolean
Observable|Element item
, Object|String ename
, Function fn
, Object scope
, Object opt
)
:
void