|
| : 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
@@ -7,7 +7,10 @@ the IE insecure content warning ('about:blank', except for IE in secure
This option is ignored if the browser does not supp... Indicates whether to use native browser parsing for JSON methods.
This option is ignored if the browser does not support native JSON methods.
Note: Native JSON methods will not work with objects that have functions.
-Also, property names must be quoted, otherwise the data will not parse. (Defaults to false) | Ext |
| emptyFn : Function A reusable empty function | Ext |
| enableFx : BooleanTrue if the Ext.Fx Class is available | Ext |
| enableGarbageCollector : Boolean True to automatically uncache orphaned Ext.Elements periodically (defaults to true) | Ext |
| enableListenerCollection : Boolean True to automatically purge event listeners during garbageCollection (defaults to false). | Ext |
| enableNestedListenerRemoval : BooleanEXPERIMENTAL - True to cascade listener removal to child elements when an element is removed.
+Also, property names must be quoted, otherwise the data will not parse. (Defaults to false) | Ext |
| emptyFn : Function A reusable empty function | Ext |
| enableForcedBoxModel : BooleanHIGHLY EXPERIMENTAL
+True to force css based border-box model override and turning off javascript based adjustments. T... HIGHLY EXPERIMENTAL
+True to force css based border-box model override and turning off javascript based adjustments. This is a
+runtime configuration and must be set before onReady. | Ext |
| enableFx : BooleanTrue if the Ext.Fx Class is available | Ext |
| enableGarbageCollector : Boolean True to automatically uncache orphaned Ext.Elements periodically (defaults to true) | Ext |
| enableListenerCollection : Boolean True to automatically purge event listeners during garbageCollection (defaults to false). | Ext |
| enableNestedListenerRemoval : BooleanEXPERIMENTAL - True to cascade listener removal to child elements when an element is removed.
Currently not optimized... EXPERIMENTAL - True to cascade listener removal to child elements when an element is removed.
Currently not optimized for performance. | Ext |
| isAir : Boolean True if the detected platform is Adobe Air. | Ext |
| isBorderBox : Boolean True if the detected browser is Internet Explorer running in non-strict mode. | Ext |
| isChrome : Boolean True if the detected browser is Chrome. | Ext |
| isGecko : Boolean True if the detected browser uses the Gecko layout engine (e.g. Mozilla, Firefox). | Ext |
| isGecko2 : Boolean True if the detected browser uses a pre-Gecko 1.9 layout engine (e.g. Firefox 2.x). | Ext |
| isGecko3 : Boolean True if the detected browser uses a Gecko 1.9+ layout engine (e.g. Firefox 3.x). | Ext |
| isIE : Boolean True if the detected browser is Internet Explorer. | Ext |
| isIE6 : Boolean True if the detected browser is Internet Explorer 6.x. | Ext |
| isIE7 : Boolean True if the detected browser is Internet Explorer 7.x. | Ext |
| isIE8 : Boolean True if the detected browser is Internet Explorer 8.x. | Ext |
| isLinux : Boolean True if the detected platform is Linux. | Ext |
| isMac : Boolean True if the detected platform is Mac OS. | Ext |
| isOpera : Boolean True if the detected browser is Opera. | Ext |
| isReady : Boolean True when the document is fully initialized and ready for action | Ext |
| isSafari : Boolean True if the detected browser is Safari. | Ext |
| isSafari2 : Boolean True if the detected browser is Safari 2.x. | Ext |
| isSafari3 : Boolean True if the detected browser is Safari 3.x. | Ext |
| isSafari4 : Boolean True if the detected browser is Safari 4.x. | Ext |
| isSecure : Boolean True if the page is running over SSL | Ext |
| isStrict : Boolean True if the browser is in strict (standards-compliant) mode, as opposed to quirks mode | Ext |
| isWebKit : Boolean True if the detected browser uses WebKit. | Ext |
| isWindows : Boolean True if the detected platform is Windows. | Ext |
| useShims : BooleanBy default, Ext intelligently decides whether floating elements should be shimmed. If you are using flash,
you may wa... By default, Ext intelligently decides whether floating elements should be shimmed. If you are using flash,
@@ -21,7 +24,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 +35,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 +45,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
@@ -52,7 +55,11 @@ Creates a new Component from the specified config object using the
config object's xtype to determine the class to instantiate. Parameters:config : ObjectA configuration object for the Component you wish to create. defaultType : ConstructorThe constructor to provide the default Component type if
the config object does not contain a xtype . (Optional if the config contains a xtype ). Returns: | Ext |
| decode( String json , [Boolean safe ] )
:
- ObjectShorthand for Ext.util.JSON.decode | Ext |
| destroy( Mixed arg1 , [Mixed arg2 ], [Mixed etc... ] )
+ ObjectShorthand for Ext.util.JSON.decode | Ext |
| defer( Function fn , [Object scope ], [Array args ], [Boolean/Number appendArgs ] )
+ :
+ FunctionShorthand for Ext.util.Functions.createDelegate Shorthand for Ext.util.Functions.createDelegateParameters:fn : FunctionThe function to delegate. scope : Object(optional) The scope (this reference) in which the function is executed.
+If omitted, defaults to the browser window. args : Array(optional) Overrides arguments for the call. (Defaults to the arguments passed by the caller) appendArgs : Boolean/Number(optional) if True args are appended to call args instead of overriding,
+if a number the args are inserted at the specified position Returns: | Ext |
| destroy( Mixed arg1 , [Mixed arg2 ], [Mixed etc... ] )
:
voidAttempts to destroy any objects passed to it by removing all event listeners, removing them from the
DOM (if applicab... Attempts to destroy any objects passed to it by removing all event listeners, removing them from the
@@ -172,13 +179,15 @@ Here are some examples:
// do something with the dom node
}
Note: the dom node to be found actually needs to exist (be rendered, etc)
-when this method is called to be successful. | Ext |
| getScrollBarWidth( [Boolean force ] )
+when this method is called to be successful. | Ext |
| getHead()
+ :
+ Ext.ElementReturns the current document body as an Ext.Element. Returns the current document body as an Ext.Element. Parameters:Returns:Ext.Element The document body
| Ext |
| getScrollBarWidth( [Boolean force ] )
:
NumberUtility method for getting the width of the browser scrollbar. This can differ depending on
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 +195,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 +271,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 +287,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 +325,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 )
:
|