|
| : Object Removes a DOM node from the document. | Ext |
| BLANK_IMAGE_URL : StringURL to a 1x1 transparent gif image used by Ext to create inline icons with CSS background images.
+In older versions o... URL to a 1x1 transparent gif image used by Ext to create inline icons with CSS background images.
In older versions of IE, this defaults to "http://extjs.com/s.gif" and you should change this to a URL on your server.
For other browsers it uses an inline data URL. | Ext |
| SSL_SECURE_URL : StringURL to a blank file used by Ext when in secure mode for iframe src and onReady src to prevent
the IE insecure content... URL to a blank file used by Ext when in secure mode for iframe src and onReady src to prevent
@@ -21,7 +21,7 @@ The event name is specified with an @ suffix.
'#foo a@click' : function(e, t){
// do something
},
-
+
// add the same listener to multiple selectors (separated by comma BEFORE the @)
'#foo a, #bar span.some-class@mouseover' : function(){
// do something
@@ -32,7 +32,7 @@ The event name is specified with an @ suffix.
:
Object Copies all the properties of config to obj if they don't already exist. Copies all the properties of config to obj if they don't already exist. | Ext |
| clean( Array/NodeList arr )
:
- ArrayCreates a copy of the passed Array with falsy values removed. Creates a copy of the passed Array with falsy values removed. | Ext |
| copyTo( Object The , Object The , Array/String Either )
+ ArrayCreates a copy of the passed Array with falsy values removed. Creates a copy of the passed Array with falsy values removed. | Ext |
| copyTo( Object dest , Object source , Array/String names )
:
ObjectCopies a set of named properties fom the source object to the destination object.
example:ImageComponent = Ext.extend... Copies a set of named properties fom the source object to the destination object.
@@ -42,7 +42,7 @@ example:ImageComponent = Ext.extend... Copies a set of na
MyComponent.superclass.initComponent.apply(this, arguments);
this.initialBox = Ext.copyTo({}, this.initialConfig, 'x,y,width,height');
}
-}); Parameters:The : Objectdestination object. The : Objectsource object. Either : Array/Stringan Array of property names, or a comma-delimited list
+}); Parameters:Returns:Object The modified object.
| Ext |
| create( Object config , Constructor defaultType )
:
Ext.ComponentShorthand for Ext.ComponentMgr.create
@@ -178,7 +178,7 @@ when this method is called to be successful.
operating system settings... Utility method for getting the width of the browser scrollbar. This can differ depending on
operating system settings, such as the theme or font size. | Ext |
| id( [Mixed el ], [String prefix ] )
:
- StringGenerates unique ids. If the element already has an id, it is unchanged Generates unique ids. If the element already has an id, it is unchanged | Ext |
| invoke( Array|NodeList arr , String methodName , Anything ... )
+ StringGenerates unique ids. If the element already has an id, it is unchanged Generates unique ids. If the element already has an id, it is unchanged | Ext |
| invoke( Array|NodeList arr , String methodName , ...* args )
:
ArrayInvokes a method on each item in an Array.
// Example:
@@ -186,7 +186,7 @@ Ext.invoke(Ext.query("p"), "getAttribute", "id");
// [el1.getA... Invokes a method on each item in an Array.
// Example:
Ext.invoke(Ext.query("p"), "getAttribute", "id");
-// [el1.getAttribute("id"), el2.getAttribute("id"), ..., elN.getAttribute("id")]
Parameters:arr : Array|NodeListThe Array of items to invoke the method on. methodName : StringThe method name to invoke. ... : AnythingArguments to send into the method invocation. Returns: | Ext |
| isArray( Mixed value )
+// [el1.getAttribute("id"), el2.getAttribute("id"), ..., elN.getAttribute("id")]Parameters:arr : Array|NodeListThe Array of items to invoke the method on. methodName : StringThe method name to invoke. args : ...*Arguments to send into the method invocation. Returns: | Ext |
| isArray( Mixed value )
:
BooleanReturns true if the passed value is a JavaScript array, otherwise false. Returns true if the passed value is a JavaScript array, otherwise false. Parameters:value : MixedThe value to test Returns: | Ext |
| isBoolean( Mixed value )
:
@@ -262,7 +262,7 @@ Company.data.CustomStore = function(config) { ... }Utility method for validating that a value is numeric, returning the specified default value if it is not. Utility method for validating that a value is numeric, returning the specified default value if it is not. Parameters:value : MixedShould be a number, but any type will be handled appropriately defaultValue : NumberThe value to return if the original value is non-numeric Returns: | Ext |
| onReady( Function fn , [Object scope ], [boolean options ] )
:
- voidAdds a listener to be notified when the document is ready (before onload and before images are loaded). Shorthand of ... | Ext |
| override( Object origclass , Object overrides )
:
voidAdds a list of functions to the prototype of an existing class, overwriting any existing methods with the same name.
@@ -278,12 +278,12 @@ Usage: Ext.override(MyClass, {
containing one or more methods.
Returns: | Ext |
| partition( Array|NodeList arr , [Function truth ] )
:
ArrayPartitions the set into two sets: a true set and a false set.
-Example:
-Example2:
+Example:
+Example2:
// Example 1:
-Ext.partition([true,... Partitions the set into two sets: a true set and a false set.
-Example:
-Example2:
+Ext.partition([true, f... Partitions the set into two sets: a true set and a false set.
+Example:
+Example2:
// Example 1:
Ext.partition([true, false, true, true, false]); // [[true, true, true], [false, false]]
@@ -316,12 +316,12 @@ may be looked up.
cls : ConstructorRemoves this element from the document, removes all DOM event listeners, and deletes the cache reference.
All DOM event listeners are removed from this element. If Ext.enableNestedListenerRemoval is
true , then DOM event listeners are also removed from all child nodes. The body node
-will be ignored if passed in. Parameters:node : HTMLElementThe node to remove Returns: | Ext |
| select( String/Array selector , [HTMLElement/String root ] )
+will be ignored if passed in.Parameters:node : HTMLElementThe node to remove Returns: | Ext |
| select( String/Array selector , [Boolean unique ], [HTMLElement/String root ] )
:
- CompositeElementLite/CompositeElementSelects elements based on the passed CSS selector to enable Element methods
-to be applied to many related elements i... Selects elements based on the passed CSS selector to enable Element methods
-to be applied to many related elements in one statement through the returned CompositeElement or
- CompositeElementLite object. Parameters:Returns:CompositeElementLite/CompositeElement
| Ext |
| sum( Array arr )
+ CompositeElementLite/CompositeElementSelects elements based on the passed CSS selector to enable Element methods
+to be applied to many related elements in... Selects elements based on the passed CSS selector to enable Element methods
+to be applied to many related elements in one statement through the returned CompositeElement or
+ CompositeElementLite object. Parameters:selector : String/ArrayThe CSS selector or an array of elements unique : Boolean(optional) true to create a unique Ext.Element for each element (defaults to a shared flyweight object) root : HTMLElement/String(optional) The root element of the query or id of the root Returns:CompositeElementLite/CompositeElement
| Ext |
| sum( Array arr )
:
NumberCalculates the sum of the Array Calculates the sum of the Array | Ext |
| toArray( Iterable the )
:
|