|
| : 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
@@ -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,7 +179,9 @@ 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
@@ -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 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:Returns:CompositeElementLite/CompositeElement
| Ext |
| sum( Array arr )
+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 )
:
|