X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/6746dc89c47ed01b165cc1152533605f97eb8e8d..f562e4c6e5fac7bcb445985b99acbea4d706e6f0:/docs/output/Ext.Element.js?ds=sidebyside diff --git a/docs/output/Ext.Element.js b/docs/output/Ext.Element.js new file mode 100644 index 00000000..8783cef2 --- /dev/null +++ b/docs/output/Ext.Element.js @@ -0,0 +1 @@ +Ext.data.JsonP.Ext_Element({"tagname":"class","html":"
Alternate names
Ext.core.ElementFiles
Encapsulates a DOM element, adding simple DOM manipulation facilities, normalizing for browser differences.
\n\nAll instances of this class inherit the methods of Ext.fx.Anim making visual effects easily available to all\nDOM elements.
\n\nNote that the events documented in this class are not Ext events, they encapsulate browser events. Some older browsers\nmay not support the full range of events. Which events are supported is beyond the control of Ext JS.
\n\nUsage:
\n\n// by id\nvar el = Ext.get(\"my-div\");\n\n// by DOM element reference\nvar el = Ext.get(myDivElement);\n
\n\nWhen an element is manipulated, by default there is no animation.
\n\nvar el = Ext.get(\"my-div\");\n\n// no animation\nel.setWidth(100);\n
\n\nMany of the functions for manipulating an element have an optional \"animate\" parameter. This parameter can be\nspecified as boolean (true) for default animation effects.
\n\n// default animation\nel.setWidth(100, true);\n
\n\nTo configure the effects, an object literal with animation options to use as the Element animation configuration\nobject can also be specified. Note that the supported Element animation configuration options are a subset of the\nExt.fx.Anim animation options specific to Fx effects. The supported Element animation configuration options\nare:
\n\nOption Default Description\n--------- -------- ---------------------------------------------\nduration .35 The duration of the animation in seconds\neasing easeOut The easing method\ncallback none A function to execute when the anim completes\nscope this The scope (this) of the callback function\n
\n\nUsage:
\n\n// Element animation options object\nvar opt = {\n duration: 1,\n easing: 'elasticIn',\n callback: this.foo,\n scope: this\n};\n// animation with some options set\nel.setWidth(100, opt);\n
\n\nThe Element animation object being used for the animation will be set on the options object as \"anim\", which allows\nyou to stop or manipulate the animation. Here is an example:
\n\n// using the \"anim\" property to get the Anim object\nif(opt.anim.isAnimated()){\n opt.anim.stop();\n}\n
\n\nFor working with collections of Elements, see Ext.CompositeElement
\ntrue to automatically adjust width and height settings for box-model issues (default to true)
\ntrue to automatically adjust width and height settings for box-model issues (default to true)
\nVisibility mode constant for use with setVisibilityMode. Use display to hide element
\nVisibility mode constant for use with setVisibilityMode. Use offsets (x and y positioning offscreen)\nto hide element.
\nVisibility mode constant for use with setVisibilityMode. Use visibility to hide element
\nCreates new Element directly.
\nBy default the constructor checks to see if there is already an instance of this\nelement in the cache and if there is it returns the same instance. This will skip that check (useful for extending\nthis class).
\nAdds one or more CSS classes to the element. Duplicate classes are automatically filtered out.
\nthis
\nSets up event handlers to add and remove a css class when the mouse is down and then up on this element (a click effect)
\nthis
\nSets up event handlers to add and remove a css class when this element has the focus
\nthis
\nSets up event handlers to add and remove a css class when the mouse is over this element
\nthis
\nConvenience method for constructing a KeyMap
\nEither a string with the keys to listen for, the numeric key code, array of key codes or an object with the following options:\n{key: (number or array), shift: (true/false), ctrl: (true/false), alt: (true/false)}
The function to call
\nThe scope (this
reference) in which the specified function is executed. Defaults to this Element.
The KeyMap created
\nCreates a KeyMap for this element
\nThe KeyMap config. See Ext.util.KeyMap for more details
\nThe KeyMap created
\nAppends an event handler to this element.
\nThe name of event to handle.
\n\nThe handler function the event invokes. This function is passed the following parameters:
\n\n\n\n\nevt : EventObject
\n\nThe EventObject describing the event.
el : HtmlElement
\n\nThe DOM element which was the target of the event. Note that this may be filtered by using the delegate option.
o : Object
\n\nThe options object from the addListener call.
The scope (this reference) in which the handler function is executed. If\nomitted, defaults to this Element.
\n\nAn object containing handler configuration properties. This may contain any of\nthe following properties:
\n\n\n\n\nscope Object :
\n\nThe scope (this reference) in which the handler function is executed. If omitted, defaults to this\nElement.
delegate String:
\n\nA simple selector to filter the target or look for a descendant of the target. See below for additional details.
stopEvent Boolean:
\n\nTrue to stop the event. That is stop propagation, and prevent the default action.
preventDefault Boolean:
\n\nTrue to prevent the default action
stopPropagation Boolean:
\n\nTrue to prevent event propagation
normalized Boolean:
\n\nFalse to pass a browser event to the handler function instead of an Ext.EventObject
target Ext.Element:
\n\nOnly call the handler if the event was fired on the target Element, not if the event was bubbled up from a\nchild node.
delay Number:
\n\nThe number of milliseconds to delay the invocation of the handler after the event fires.
single Boolean:
\n\nTrue to add a handler to handle just the next firing of the event, and then remove itself.
buffer Number:
\n\nCauses the handler to be scheduled to run in an Ext.util.DelayedTask delayed by the specified number of\nmilliseconds. If the event fires again within that time, the original handler is not invoked, but the new\nhandler is scheduled in its place.
Combining Options
\n\n\n\n\nIn the following examples, the shorthand form on is used rather than the more verbose addListener. The\ntwo are equivalent. Using the options argument, it is possible to combine different types of listeners:
\n\n\n\n\nA delayed, one-time listener that auto stops the event and adds a custom argument (forumId) to the options\nobject. The options object is available as the third parameter in the handler function.
\n\n\n\n\nCode:
\n\n\n\n\nel.on('click', this.onClick, this, {\n single: true,\n delay: 100,\n stopEvent : true,\n forumId: 4\n});\n
\n\n\n\n\nAttaching multiple handlers in 1 call
\n\n\n\n\nThe method also allows for a single argument to be passed which is a config object containing properties which\nspecify multiple handlers.
\n\n\n\n\nCode:
\n\n\n\n\nel.on({\n 'click' : {\n fn: this.onClick,\n scope: this,\n delay: 100\n },\n 'mouseover' : {\n fn: this.onMouseOver,\n scope: this\n },\n 'mouseout' : {\n fn: this.onMouseOut,\n scope: this\n }\n});\n
\n\n\n\n\nOr a shorthand syntax:
\n\n\n\n\nCode:
\n\n\n\n\nel.on({\n 'click' : this.onClick,\n 'mouseover' : this.onMouseOver,\n 'mouseout' : this.onMouseOut,\n scope: this\n});\n
\n\n\n\n\ndelegate
\n\n\n\n\nThis is a configuration option that you can pass along when registering a handler for an event to assist with\nevent delegation. Event delegation is a technique that is used to reduce memory consumption and prevent exposure\nto memory-leaks. By registering an event for a container element as opposed to each element within a container.\nBy setting this configuration option to a simple selector, the target element will be filtered to look for a\ndescendant of the target. For example:
\n\n\n\n\n// using this markup:\n<div id='elId'>\n <p id='p1'>paragraph one</p>\n <p id='p2' class='clickable'>paragraph two</p>\n <p id='p3'>paragraph three</p>\n</div>\n\n// utilize event delegation to registering just one handler on the container element:\nel = Ext.get('elId');\nel.on(\n 'click',\n function(e,t) {\n // handle click\n console.info(t.id); // 'p2'\n },\n this,\n {\n // filter the target element to be a descendant with the class 'clickable'\n delegate: '.clickable'\n }\n);\n
\n\nthis
\n\nAligns this element with another element relative to the specified anchor points. If the other element is the\ndocument it aligns it to the viewport.\nThe position parameter is optional, and can be specified in any one of the following formats:
\n\nIn addition to the anchor points, the position parameter also supports the \"?\" character. If \"?\" is passed at the end of\nthe position string, the element will attempt to align as specified, but the position will be adjusted to constrain to\nthe viewport if necessary. Note that the element being aligned might be swapped to align to a different position than\nthat specified in order to enforce the viewport constraints.\nFollowing are all of the supported anchor positions:
\n\nValue Description\n----- -----------------------------\ntl The top left corner (default)\nt The center of the top edge\ntr The top right corner\nl The center of the left edge\nc In the center of the element\nr The center of the right edge\nbl The bottom left corner\nb The center of the bottom edge\nbr The bottom right corner\n\n\n\n
Example Usage:
\n\n// align el to other-el using the default positioning (\"tl-bl\", non-constrained)\nel.alignTo(\"other-el\");\n\n// align the top left corner of el with the top right corner of other-el (constrained to viewport)\nel.alignTo(\"other-el\", \"tr?\");\n\n// align the bottom right corner of el with the center left edge of other-el\nel.alignTo(\"other-el\", \"br-l?\");\n\n// align the center of el with the bottom left corner of other-el and\n// adjust the x position by -6 pixels (and the y position by 0)\nel.alignTo(\"other-el\", \"c-bl\", [-6, 0]);\n
\n\nThe element to align to.
\nThe position to align to
\nDefaults to: "tl-bl?"
Offset the positioning by [x, y]
\ntrue for the default animation or a standard Element animation config object
\nthis
\nAnchors an element to another element and realigns it when the window is resized.
\nThe element to align to.
\nThe position to align to.
\nOffset the positioning by [x, y]
\nTrue for the default animation or a standard Element animation config object
\nTrue to monitor body scroll and reposition. If this parameter\nis a number, it is used as the buffer delay (defaults to 50ms).
\nThe function to call after the animation finishes
\nthis
\nAppends the passed element(s) to this element
\nThe id of the node, a DOM Node or an existing Element.
\nthis
\nAppends this element to the passed element
\nThe new parent element.\nThe id of the node, a DOM Node or an existing Element.
\nthis
\nMore flexible version of setStyle for setting style properties.
\nA style specification string, e.g. \"width:100px\", or object in the form {width:\"100px\"}, or\na function which returns such a specification.
\nthis
\nWraps the specified element with a special 9 element markup/CSS block that renders by default as\na gray container with a gradient background, rounded corners and a 4-way shadow.
\n\n\nThis special markup is used throughout Ext when box wrapping elements (Ext.button.Button,\nExt.panel.Panel when frame=true, Ext.window.Window). The markup\nis of this form:
\n\n\n Ext.Element.boxMarkup =\n '<div class=\"{0}-tl\"><div class=\"{0}-tr\"><div class=\"{0}-tc\"></div></div></div>\n <div class=\"{0}-ml\"><div class=\"{0}-mr\"><div class=\"{0}-mc\"></div></div></div>\n <div class=\"{0}-bl\"><div class=\"{0}-br\"><div class=\"{0}-bc\"></div></div></div>';\n
\n\n\nExample usage:
\n\n\n // Basic box wrap\n Ext.get(\"foo\").boxWrap();\n\n // You can also add a custom class and use CSS inheritance rules to customize the box look.\n // 'x-box-blue' is a built-in alternative -- look at the related CSS definitions as an example\n // for how to create a custom box wrap style.\n Ext.get(\"foo\").boxWrap().addCls(\"x-box-blue\");\n
\n\nA base CSS class to apply to the containing wrapper element\n(defaults to 'x-box'). Note that there are a number of CSS rules that are dependent on\nthis name to make the overall effect work, so if you supply an alternate base class, make sure you\nalso supply all of the necessary rules.
\nThe outermost wrapping element of the created box structure.
\nCenters the Element in either the viewport, or another Element.
\nThe element in which to center the element.
\nSelects a single direct child based on the passed CSS selector (the selector should not contain an id).
\nThe CSS selector
\nTrue to return the DOM node instead of Ext.Element (defaults to false)
\nThe child Ext.Element (or DOM node if returnDom = true)
\nRemoves Empty, or whitespace filled text nodes. Combines adjacent text nodes.
\nBy default the element\nkeeps track if it has been cleaned already so\nyou can call this over and over. However, if you update the element and\nneed to force a reclean, you can pass true.
\nAlias for removeAllListeners.
\n\nRemoves all previous added listeners from this element
\nthis
\n\nClears any opacity settings from this element. Required in some cases for IE.
\nthis
\nClear positioning back to the default when the document was loaded
\nThe value to use for the left,right,top,bottom, defaults to '' (empty string). You could use 'auto'.
\nthis
\nStore the current overflow setting and clip overflow on the element - use unclip to remove
\nthis
\nCreates the passed DomHelper config and appends it to this element or optionally inserts it before the passed child element.
\nDomHelper element config object. If no tag is specified (e.g., {tag:'input'}) then a div will be\nautomatically generated with the specified attributes.
\na child element of this element
\ntrue to return the dom node instead of creating an Element
\nThe new child element
\nCreates a proxy element of this element
\nThe class name of the proxy element or a DomHelper config object
\nThe element or element id to render the proxy to (defaults to document.body)
\nTrue to align and size the proxy to this element now.
\nDefaults to: false
The new proxy element
\nCreates an iframe shim for this element to keep selects and other windowed objects from\nshowing through.
\nThe new shim element
\nRemoves this element's dom reference. Note that event and cache removal is handled at Ext.removeNode. Alias to remove.
\nSelects a single child at any depth below this element based on the passed CSS selector (the selector should not contain an id).
\nThe CSS selector
\nTrue to return the DOM node instead of Ext.Element (defaults to false)
\nThe child Ext.Element (or DOM node if returnDom = true)
\nConvenience method for setVisibilityMode(Element.DISPLAY)
\nWhat to set display to when visible
\nthis
\nFade an element in (from transparent to opaque). The ending opacity can be specified using the opacity
\nconfig option. Usage:
// default: fade in from opacity 0 to 100%\nel.fadeIn();\n\n// custom: fade in from opacity 0 to 75% over 2 seconds\nel.fadeIn({ opacity: .75, duration: 2000});\n\n// common config options shown with default values\nel.fadeIn({\n opacity: 1, //can be any value between 0 and 1 (e.g. .5)\n easing: 'easeOut',\n duration: 500\n});\n
\nObject literal with any of the Fx config options
\nThe Element
\nFade an element out (from opaque to transparent). The ending opacity can be specified using the opacity
\nconfig option. Note that IE may require useDisplay:true
in order to redisplay correctly.\nUsage:
// default: fade out from the element's current opacity to 0\nel.fadeOut();\n\n// custom: fade out from the element's current opacity to 25% over 2 seconds\nel.fadeOut({ opacity: .25, duration: 2000});\n\n// common config options shown with default values\nel.fadeOut({\n opacity: 0, //can be any value between 0 and 1 (e.g. .5)\n easing: 'easeOut',\n duration: 500,\n remove: false,\n useDisplay: false\n});\n
\nObject literal with any of the Fx config options
\nThe Element
\nLooks at this node and then at parent nodes for a match of the passed simple selector (e.g. div.some-class or span:first-child)
\nThe simple selector to test
\nThe max depth to search as a number or element (defaults to 50 || document.body)
\nTrue to return a Ext.Element object instead of DOM node
\nThe matching DOM node (or null if no match was found)
\nLooks at parent nodes for a match of the passed simple selector (e.g. div.some-class or span:first-child)
\nThe simple selector to test
\nThe max depth to search as a number or element (defaults to 10 || document.body)
\nTrue to return a Ext.Element object instead of DOM node
\nThe matching DOM node (or null if no match was found)
\nGets the first child, skipping text nodes
\nFind the next sibling that matches the passed simple selector
\nTrue to return a raw dom node instead of an Ext.Element
\nThe first child or null
\nTries to focus the element. Any exceptions are caught and ignored.
\nMilliseconds to defer the focus
\nthis
\nShows a ripple of exploding, attenuating borders to draw attention to an Element. Usage:
\n\n// default: a single light blue ripple\nel.frame();\n\n// custom: 3 red ripples lasting 3 seconds total\nel.frame(\"#ff0000\", 3, { duration: 3 });\n\n// common config options shown with default values\nel.frame(\"#C3DAF9\", 1, {\n duration: 1 //duration of each individual ripple.\n // Note: Easing is not configurable and will be ignored if included\n});\n
\nThe color of the border. Should be a 6 char hex color without the leading #\n(defaults to light blue).
\nDefaults to: "C3DAF9"
The number of ripples to display
\nDefaults to: 1
Object literal with any of the Fx config options
\nThe Element
\nReturns the active element in the DOM. If the browser supports activeElement\non the document, this is returned. If not, the focus is tracked and the active\nelement is maintained internally.
\nThe active (focused) element in the document.
\nGets the x,y coordinates to align this element with another element. See alignTo for more info on the\nsupported position values.
\nThe element to align to.
\nThe position to align to (defaults to )
\nDefaults to: "tl-bl?"
Offset the positioning by [x, y]
\n[x, y]
\nGets the x,y coordinates specified by the anchor position on the element.
\nThe specified anchor position. See alignTo\nfor details on supported anchor positions.
\nDefaults to: "c"
True to get the local (element top/left-relative) anchor position instead\nof page coordinates
\nAn object containing the size to use for calculating anchor position\n{width: (target width), height: (target height)} (defaults to the element's current size)
\n[x, y] An array containing the element's x and y coordinates
\nReturn an object defining the area of this Element which can be passed to setBox to\nset another Element's size/location to match this element.
\nIf true a box for the content of the element is returned.
\nIf true the element's left and top are returned instead of page x/y.
\nbox An object in the format
\n\n{\n x: <Element's X position>,\n y: <Element's Y position>,\n width: <Element's width>,\n height: <Element's height>,\n bottom: <Element's lower bound>,\n right: <Element's rightmost bound>\n}\n
\n\n\nThe returned object may also be addressed as an Array where index 0 contains the X position\nand index 1 contains the Y position. So the result may also be used for setXY
\nRetrieves Ext.Element objects like Ext.get but is optimized for sub-elements.\nThis is helpful for performance, because in IE (prior to IE 9), getElementById
uses\nan non-optimized search. In those browsers, starting the search for an element with a\nmatching ID at a parent of that element will greatly speed up the process.
Unlike Ext.get, this method only accepts ID's. If the ID is not a child of\nthis element, it will still be found if it exists in the document, but will be slower\nthan calling Ext.get directly.
\nThe id of the element to get.
\nThe Element object (or null if no matching element was found)
\nReturn the CSS color for the specified CSS attribute. rgb, 3 digit (like #fff) and valid values\nare convert to standard 6 digit hex color.
\nReturns either the offsetHeight or the height of this element based on CSS height adjusted by padding or borders\nwhen needed to simulate offsetHeight when offsets aren't available. This may not work on display:none elements\nif a height has not been set using CSS.
\nReturns either the offsetWidth or the width of this element based on CSS width adjusted by padding or borders\nwhen needed to simulate offsetWidth when offsets aren't available. This may not work on display:none elements\nif a width has not been set using CSS.
\nReturns the [X, Y]
vector by which this element must be translated to make a best attempt\nto constrain within the passed constraint. Returns false
is this element does not need to be moved.
Priority is given to constraining the top and left within the constraint.
\n\n\nThe constraint may either be an existing element into which this element is to be constrained, or\nan Region into which this element is to be constrained.
\n\n{Mixed} The Element or Region into which this element is to be constrained.
\n{Array} A proposed [X, Y]
position to test for validity and to produce a vector for instead\nof using this Element's current position;
Returns an object with properties top, left, right and bottom representing the margins of this element unless sides is passed,\nthen it returns the calculated width of the sides (see getPadding)
\nAny combination of l, r, t, b to get the sum of those sides
\nReturns the offsets of this element from the passed element. Both element must be part of the DOM tree and not have display:none to have page coordinates.
\nThe element to get the offsets from.
\nThe XY page offsets (e.g. [100, -200])
\nReturn an object defining the area of this Element which can be passed to setBox to\nset another Element's size/location to match this element.
\nIf true an Ext.util.Region will be returned
\nbox An object in the format
\n\n{\n x: <Element's X position>,\n y: <Element's Y position>,\n width: <Element's width>,\n height: <Element's height>,\n bottom: <Element's lower bound>,\n right: <Element's rightmost bound>\n}\n
\n\n\nThe returned object may also be addressed as an Array where index 0 contains the X position\nand index 1 contains the Y position. So the result may also be used for setXY
\nGets an object with all CSS positioning properties. Useful along with setPostioning to get\nsnapshot before performing an update and then restoring the element.
\nReturns the region of this element.\nThe element must be part of the DOM tree to have a region (display:none or elements not appended return false).
\nA Region containing \"top, left, bottom, right\" member data.
\nGets the parent node of the current element taking into account Ext.scopeResetCSS
\nThe parent element
\nReturns the current scroll position of the element.
\nAn object containing the scroll position in the format {left: (scrollLeft), top: (scrollTop)}
\nReturns the dimensions of the element available to lay content out in.
\n\ngetStyleSize utilizes prefers style sizing if present, otherwise it chooses the larger of offsetHeight/clientHeight and offsetWidth/clientWidth.\nTo obtain the size excluding scrollbars, use getViewSize\n\nSizing of the document body is handled at the adapter level which handles special cases for IE and strict modes, etc.\n\n
Returns an object with properties matching the styles requested.\nFor example, el.getStyles('color', 'font-size', 'width') might return\n{'color': '#FFFFFF', 'font-size': '13px', 'width': '100px'}.
\nThe style object
\nReturns the width in pixels of the passed text, or the width of the text in this Element.
\nThe text to measure. Defaults to the innerHTML of the element.
\nThe minumum value to return.
\nThe maximum value to return.
\nThe text width in pixels.
\nReturns the content region of this element. That is the region within the borders and padding.
\nA Region containing \"top, left, bottom, right\" member data.
\nReturns the dimensions of the element available to lay content out in.
\n
If the element (or any ancestor element) has CSS style display : none
, the dimensions will be zero.
var vpSize = Ext.getBody().getViewSize();\n\n // all Windows created afterwards will have a default value of 90% height and 95% width\n Ext.Window.override({\n width: vpSize.width * 0.9,\n height: vpSize.height * 0.95\n });\n // To handle window resizing you would have to hook onto onWindowResize.\n
\n\ngetViewSize utilizes clientHeight/clientWidth which excludes sizing of scrollbars.\nTo obtain the size including scrollbars, use getStyleSize\n\nSizing of the document body is handled at the adapter level which handles special cases for IE and strict modes, etc.\n\nGets the current X position of the element based on page coordinates. Element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).
\nThe X position of the element
\nGets the current position of the element based on page coordinates. Element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).
\nThe XY position of the element
\nGets the current Y position of the element based on page coordinates. Element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).
\nThe Y position of the element
\nSlides the element while fading it out of view. An anchor point can be optionally passed to set the ending point\nof the effect. Usage:
\n\n// default: slide the element downward while fading out\nel.ghost();\n\n// custom: slide the element out to the right with a 2-second duration\nel.ghost('r', { duration: 2000 });\n\n// common config options shown with default values\nel.ghost('b', {\n easing: 'easeOut',\n duration: 500\n});\n
\nOne of the valid Fx anchor positions
\nDefaults to: "b"
Object literal with any of the Fx config options
\nThe Element
\nHide this element - Uses display mode to determine whether to use \"display\" or \"visibility\". See setVisible.
\ntrue for the default animation or a standard Element animation config object
\nthis
\nHighlights the Element by setting a color (applies to the background-color by default, but can be changed using\nthe \"attr\" config option) and then fading back to the original color. If no original color is available, you\nshould provide the \"endColor\" config option which will be cleared after the animation. Usage:
\n\n// default: highlight background to yellow\nel.highlight();\n\n// custom: highlight foreground text to blue for 2 seconds\nel.highlight(\"0000ff\", { attr: 'color', duration: 2000 });\n\n// common config options shown with default values\nel.highlight(\"ffff9c\", {\n attr: \"backgroundColor\", //can be any valid CSS property (attribute) that supports a color value\n endColor: (current color) or \"ffffff\",\n easing: 'easeIn',\n duration: 1000\n});\n
\nThe highlight color. Should be a 6 char hex color without the leading #
\nDefaults to: "ffff9c"
Object literal with any of the Fx config options
\nThe Element
\nSets up event handlers to call the passed functions when the mouse is moved into and out of the Element.
\nThe function to call when the mouse enters the Element.
\nThe function to call when the mouse leaves the Element.
\nThe scope (this
reference) in which the functions are executed. Defaults\nto the Element's DOM element.
Options for the listener. See the\noptions parameter.
\nthis
\nInitializes a Ext.dd.DDProxy object for this element.
\nThe group the DDProxy object is member of
\nThe DDProxy config object
\nAn object containing methods to override/implement on the DDProxy object
\nThe DDProxy object
\nInitializes a Ext.dd.DDTarget object for this element.
\nThe group the DDTarget object is member of
\nThe DDTarget config object
\nAn object containing methods to override/implement on the DDTarget object
\nThe DDTarget object
\nInserts this element after the passed element in the DOM
\nThe element to insert after.\nThe id of the node, a DOM Node or an existing Element.
\nthis
\nInserts this element before the passed element in the DOM
\nThe element before which this element will be inserted.\nThe id of the node, a DOM Node or an existing Element.
\nthis
\nInserts (or creates) an element (or DomHelper config) as the first child of this element
\nThe id or element to insert or a DomHelper config\nto create and insert
\nThe new child
\nInserts an html fragment into this element
\nWhere to insert the html in relation to this element - beforeBegin, afterBegin, beforeEnd, afterEnd.\nSee Ext.DomHelper.insertHtml for details.
\nThe HTML fragment
\nTrue to return an Ext.Element (defaults to false)
\nThe inserted node (or nearest related if more than 1 inserted)
\nInserts (or creates) the passed element (or DomHelper config) as a sibling of this element
\nThe id, element to insert or a DomHelper config\nto create and insert or an array of any of those.
\n'before' or 'after' defaults to before
\nTrue to return the .;ll;l,raw DOM element instead of Ext.Element
\nThe inserted Element. If an array is passed, the last inserted element is returned.
\nReturns true if this element is masked. Also re-centers any displayed message within the mask.
\nChecks whether the element is currently visible using both visibility and display properties.
\nTrue if the element is currently visible, else false
\nGets the last child, skipping text nodes
\nFind the previous sibling that matches the passed simple selector
\nTrue to return a raw dom node instead of an Ext.Element
\nThe last child or null
\nDirect access to the Ext.ElementLoader Ext.ElementLoader.load method. The method takes the same object\nparameter as Ext.ElementLoader.load
\nthis
\nPuts a mask over this element to disable user interaction. Requires core.css.\nThis method can only be applied to elements which accept child nodes.
\nA message to display in the mask
\nA css class to apply to the msg element
\nThe mask element
\nMonitors this Element for the mouse leaving. Calls the function after the specified delay only if\nthe mouse was not moved back into the Element within the delay. If the mouse was moved\nback in, the function is not called.
\nThe delay in milliseconds to wait for possible mouse re-entry before calling the handler function.
\nThe function to call if the mouse remains outside of this Element for the specified time.
\nThe scope (this
reference) in which the handler function executes. Defaults to this Element.
The listeners object which was added to this element so that monitoring can be stopped. Example usage:
\n\n// Hide the menu if the mouse moves out for 250ms or more\nthis.mouseLeaveMonitor = this.menuEl.monitorMouseLeave(250, this.hideMenu, this);\n\n...\n// Remove mouseleave monitor on menu destroy\nthis.menuEl.un(this.mouseLeaveMonitor);\n
\n\nMove this element relative to its current position.
\nPossible values are: \"l\" (or \"left\"), \"r\" (or \"right\"), \"t\" (or \"top\", or \"up\"), \"b\" (or \"bottom\", or \"down\").
\nHow far to move the element in pixels
\ntrue for the default animation or a standard Element animation config object
\nSets the position of the element in page coordinates, regardless of how the element is positioned.\nThe element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).
\nX value for new position (coordinates are page-based)
\nY value for new position (coordinates are page-based)
\nTrue for the default animation, or a standard Element animation config object
\nthis
\nGets the next sibling, skipping text nodes
\nFind the next sibling that matches the passed simple selector
\nTrue to return a raw dom node instead of an Ext.Element
\nThe next sibling or null
\nShorthand for addListener.
\n\nAppends an event handler to this element.
\nThe name of event to handle.
\n\nThe handler function the event invokes. This function is passed the following parameters:
\n\n\n\n\nevt : EventObject
\n\nThe EventObject describing the event.
el : HtmlElement
\n\nThe DOM element which was the target of the event. Note that this may be filtered by using the delegate option.
o : Object
\n\nThe options object from the addListener call.
The scope (this reference) in which the handler function is executed. If\nomitted, defaults to this Element.
\n\nAn object containing handler configuration properties. This may contain any of\nthe following properties:
\n\n\n\n\nscope Object :
\n\nThe scope (this reference) in which the handler function is executed. If omitted, defaults to this\nElement.
delegate String:
\n\nA simple selector to filter the target or look for a descendant of the target. See below for additional details.
stopEvent Boolean:
\n\nTrue to stop the event. That is stop propagation, and prevent the default action.
preventDefault Boolean:
\n\nTrue to prevent the default action
stopPropagation Boolean:
\n\nTrue to prevent event propagation
normalized Boolean:
\n\nFalse to pass a browser event to the handler function instead of an Ext.EventObject
target Ext.Element:
\n\nOnly call the handler if the event was fired on the target Element, not if the event was bubbled up from a\nchild node.
delay Number:
\n\nThe number of milliseconds to delay the invocation of the handler after the event fires.
single Boolean:
\n\nTrue to add a handler to handle just the next firing of the event, and then remove itself.
buffer Number:
\n\nCauses the handler to be scheduled to run in an Ext.util.DelayedTask delayed by the specified number of\nmilliseconds. If the event fires again within that time, the original handler is not invoked, but the new\nhandler is scheduled in its place.
Combining Options
\n\n\n\n\nIn the following examples, the shorthand form on is used rather than the more verbose addListener. The\ntwo are equivalent. Using the options argument, it is possible to combine different types of listeners:
\n\n\n\n\nA delayed, one-time listener that auto stops the event and adds a custom argument (forumId) to the options\nobject. The options object is available as the third parameter in the handler function.
\n\n\n\n\nCode:
\n\n\n\n\nel.on('click', this.onClick, this, {\n single: true,\n delay: 100,\n stopEvent : true,\n forumId: 4\n});\n
\n\n\n\n\nAttaching multiple handlers in 1 call
\n\n\n\n\nThe method also allows for a single argument to be passed which is a config object containing properties which\nspecify multiple handlers.
\n\n\n\n\nCode:
\n\n\n\n\nel.on({\n 'click' : {\n fn: this.onClick,\n scope: this,\n delay: 100\n },\n 'mouseover' : {\n fn: this.onMouseOver,\n scope: this\n },\n 'mouseout' : {\n fn: this.onMouseOut,\n scope: this\n }\n});\n
\n\n\n\n\nOr a shorthand syntax:
\n\n\n\n\nCode:
\n\n\n\n\nel.on({\n 'click' : this.onClick,\n 'mouseover' : this.onMouseOver,\n 'mouseout' : this.onMouseOut,\n scope: this\n});\n
\n\n\n\n\ndelegate
\n\n\n\n\nThis is a configuration option that you can pass along when registering a handler for an event to assist with\nevent delegation. Event delegation is a technique that is used to reduce memory consumption and prevent exposure\nto memory-leaks. By registering an event for a container element as opposed to each element within a container.\nBy setting this configuration option to a simple selector, the target element will be filtered to look for a\ndescendant of the target. For example:
\n\n\n\n\n// using this markup:\n<div id='elId'>\n <p id='p1'>paragraph one</p>\n <p id='p2' class='clickable'>paragraph two</p>\n <p id='p3'>paragraph three</p>\n</div>\n\n// utilize event delegation to registering just one handler on the container element:\nel = Ext.get('elId');\nel.on(\n 'click',\n function(e,t) {\n // handle click\n console.info(t.id); // 'p2'\n },\n this,\n {\n // filter the target element to be a descendant with the class 'clickable'\n delegate: '.clickable'\n }\n);\n
\n\nthis
\n\nGets the parent node for this element, optionally chaining up trying to match a selector
\nFind a parent node that matches the passed simple selector
\nTrue to return a raw dom node instead of an Ext.Element
\nThe parent node or null
\nCreates a pause before any subsequent queued effects begin. If there are no effects queued after the pause it will\nhave no effect. Usage:
\n\nel.pause(1);\n
\nThis method has been deprecated since 4.0
\nThe length of time to pause (in seconds)
\nThe Element
\nInitializes positioning on this element. If a desired position is not passed, it will make the\nthe element positioned relative IF it is not already positioned.
\nGets the previous sibling, skipping text nodes
\nFind the previous sibling that matches the passed simple selector
\nTrue to return a raw dom node instead of an Ext.Element
\nThe previous sibling or null
\nFades the element out while slowly expanding it in all directions. When the effect is completed, the element will\nbe hidden (visibility = 'hidden') but block elements will still take up space in the document. Usage:
\n\n// default\nel.puff();\n\n// common config options shown with default values\nel.puff({\n easing: 'easeOut',\n duration: 500,\n useDisplay: false\n});\n
\nObject literal with any of the Fx config options
\nThe Element
\nRecursively removes all previous added listeners from this element and its children
\nthis
\nSelects child nodes based on the passed CSS selector (the selector should not contain an id).
\nThe CSS selector
\nAn array of the matched nodes
\nAdds one or more CSS classes to this element and removes the same class(es) from all siblings.
\nthis
\nCreate an event handler on this element such that when the event fires and is handled by this element,\nit will be relayed to another object (i.e., fired again as if it originated from that object instead).
\nThe type of event to relay
\nAny object that extends Ext.util.Observable that will provide the context\nfor firing the relayed event
\nRemoves this element's dom reference. Note that event and cache removal is handled at Ext.removeNode
\nRemoves an event handler from this element.
\n\nNote: if a scope was explicitly specified when adding the listener,\nthe same scope must be specified here.
\n\nExample:
\n\nel.removeListener('click', this.handlerFn);\n// or\nel.un('click', this.handlerFn);\n
\nThe name of the event from which to remove the handler.
\n\nThe handler function to remove. This must be a reference to the function passed into the\naddListener call.
\n\nIf a scope (this reference) was specified when the listener was added, then this must\nrefer to the same object.
\n\nthis
\n\nReplaces the passed element with this element
\nThe element to replace.\nThe id of the node, a DOM Node or an existing Element.
\nthis
\nReplaces a CSS class on the element with another. If the old name does not exist, the new name will simply be added.
\nthis
\nReplaces this element with the passed element
\nThe new element (id of the node, a DOM Node\nor an existing Element) or a DomHelper config of an element to create
\nthis
\nAnimates the transition of an element's dimensions from a starting height/width to an ending height/width. This\nmethod is a convenience implementation of shift. Usage:
\n\n// change height and width to 100x100 pixels\nel.scale(100, 100);\n\n// common config options shown with default values. The height and width will default to\n// the element's existing values if passed as null.\nel.scale(\n [element's width],\n [element's height], {\n easing: 'easeOut',\n duration: .35\n }\n);\n
\nThis method has been deprecated since 4.0
\nThe new width (pass undefined to keep the original width)
\nThe new height (pass undefined to keep the original height)
\nObject literal with any of the Fx config options
\nThe Element
\nScrolls this element the specified direction. Does bounds checking to make sure the scroll is\nwithin this element's scrollable range.
\nPossible values are: \"l\" (or \"left\"), \"r\" (or \"right\"), \"t\" (or \"top\", or \"up\"), \"b\" (or \"bottom\", or \"down\").
\nHow far to scroll the element in pixels
\ntrue for the default animation or a standard Element animation config object
\nReturns true if a scroll was triggered or false if the element\nwas scrolled as far as it could go.
\nScrolls this element into view within the passed container.
\nThe container element to scroll (defaults to document.body). Should be a\nstring (id), dom node, or Ext.Element.
\nFalse to disable horizontal scroll (defaults to true)
\nthis
\nScrolls this element the specified scroll point. It does NOT do bounds checking so if you scroll to a weird value it will try to do it. For auto bounds checking, use scroll().
\nEither \"left\" for scrollLeft values or \"top\" for scrollTop values.
\nThe new scroll value
\ntrue for the default animation or a standard Element animation config object
\nthis
\nCreates a Ext.CompositeElement for child nodes based on the passed CSS selector (the selector should not contain an id).
\nThe CSS selector
\nThe composite element
\nSets the passed attributes as attributes of this element (a style attribute can be a string, object or function)
\nThe object with the attributes
\nfalse to override the default setAttribute to use expandos.
\nthis
\nSets the element's CSS bottom style.
\nThe bottom CSS property value
\nthis
\nSets the element's position and size in one shot. If animation is true then width, height, x and y will be animated concurrently.
\nX value for new position (coordinates are page-based)
\nY value for new position (coordinates are page-based)
\nThe new width. This may be one of:
The new height. This may be one of:
true for the default animation or a standard Element animation config object
\nthis
\nSets the element's box. Use getBox() on another element to get a box obj. If animate is true then width, height, x and y will be animated concurrently.
\nThe box to fill {x, y, width, height}
\nWhether to adjust for box-model issues automatically
\ntrue for the default animation or a standard Element animation config object
\nthis
\nSets the CSS display property. Uses originalDisplay if the specified value is a boolean true.
\nBoolean value to display the element using its default display, or a string to set the display directly.
\nthis
\nSet the height of this Element.
\n\n// change the height to 200px and animate with default configuration\nExt.fly('elementId').setHeight(200, true);\n\n// change the height to 150px and animate with a custom configuration\nExt.fly('elId').setHeight(150, {\n duration : .5, // animation will have a duration of .5 seconds\n // will change the content to \"finished\"\n callback: function(){ this.update(\"finished\"); }\n});\n
\n\nThe new height. This may be one of:
true for the default animation or a standard Element animation config object
\nthis
\nSets the element's left position directly using CSS style (instead of setX).
\nThe left CSS property value
\nthis
\nSets the position of the element in page coordinates, regardless of how the element is positioned.\nThe element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).
\nX value for new position (coordinates are page-based)
\nY value for new position (coordinates are page-based)
\nTrue for the default animation, or a standard Element animation config object
\nthis
\nSet the opacity of the element
\nThe new opacity. 0 = transparent, .5 = 50% visibile, 1 = fully visible, etc
\na standard Element animation config object or true for\nthe default animation ({duration: .35, easing: 'easeIn'})
\nthis
\nSet positioning with an object returned by getPositioning().
\nthis
\nSets the element's position and size the specified region. If animation is true then width, height, x and y will be animated concurrently.
\nThe region to fill
\ntrue for the default animation or a standard Element animation config object
\nthis
\nSets the element's CSS right style.
\nThe right CSS property value
\nthis
\nSet the size of this Element. If animation is true, both width and height will be animated concurrently.
\nThe new width. This may be one of:
{width: widthValue, height: heightValue}
.The new height. This may be one of:
true for the default animation or a standard Element animation config object
\nthis
\nWrapper for setting style properties, also takes single object parameter of multiple styles.
\nThe style property to be set, or an object of multiple styles.
\nThe value to apply to the given property, or null if an object was passed.
\nthis
\nSets the element's top position directly using CSS style (instead of setY).
\nThe top CSS property value
\nthis
\nSets the element's visibility mode. When setVisible() is called it\nwill use this to determine whether to set the visibility or the display property.
\nExt.Element.VISIBILITY or Ext.Element.DISPLAY
\nthis
\nSets the visibility of the element (see details). If the visibilityMode is set to Element.DISPLAY, it will use\nthe display property to hide the element, otherwise it uses visibility. The default is to hide and show using the visibility property.
\nWhether the element is visible
\nTrue for the default animation, or a standard Element animation config object
\nthis
\nSet the width of this Element.
\nThe new width. This may be one of:
true for the default animation or a standard Element animation config object
\nthis
\nSets the X position of the element based on page coordinates. Element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).
\nX position of the element
\nTrue for the default animation, or a standard Element animation config object
\nthis
\nSets the position of the element in page coordinates, regardless of how the element is positioned.\nThe element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).
\nContains X & Y [x, y] values for new position (coordinates are page-based)
\nTrue for the default animation, or a standard Element animation config object
\nthis
\nSets the Y position of the element based on page coordinates. Element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).
\nY position of the element
\nTrue for the default animation, or a standard Element animation config object
\nthis
\nAnimates the transition of any combination of an element's dimensions, xy position and/or opacity. Any of these\nproperties not specified in the config object will not be changed. This effect requires that at least one new\ndimension, position or opacity setting must be passed in on the config object in order for the function to have\nany effect. Usage:
\n\n// slide the element horizontally to x position 200 while changing the height and opacity\nel.shift({ x: 200, height: 50, opacity: .8 });\n\n// common config options shown with default values.\nel.shift({\n width: [element's width],\n height: [element's height],\n x: [element's x position],\n y: [element's y position],\n opacity: [element's opacity],\n easing: 'easeOut',\n duration: .35\n});\n
\nThis method has been deprecated since 4.0
\nObject literal with any of the Fx config options
\nThe Element
\nShow this element - Uses display mode to determine whether to use \"display\" or \"visibility\". See setVisible.
\ntrue for the default animation or a standard Element animation config object
\nthis
\nSlides the element into view. An anchor point can be optionally passed to set the point of origin for the slide\neffect. This function automatically handles wrapping the element with a fixed-size container if needed. See the\nFx class overview for valid anchor point options. Usage:
\n\n// default: slide the element in from the top\nel.slideIn();\n\n// custom: slide the element in from the right with a 2-second duration\nel.slideIn('r', { duration: 2000 });\n\n// common config options shown with default values\nel.slideIn('t', {\n easing: 'easeOut',\n duration: 500\n});\n
\nOne of the valid Fx anchor positions
\nDefaults to: "t"
Object literal with any of the Fx config options
\nThe Element
\nSlides the element out of view. An anchor point can be optionally passed to set the end point for the slide\neffect. When the effect is completed, the element will be hidden (visibility = 'hidden') but block elements will\nstill take up space in the document. The element must be removed from the DOM using the 'remove' config option if\ndesired. This function automatically handles wrapping the element with a fixed-size container if needed. See the\nFx class overview for valid anchor point options. Usage:
\n\n// default: slide the element out to the top\nel.slideOut();\n\n// custom: slide the element out to the right with a 2-second duration\nel.slideOut('r', { duration: 2000 });\n\n// common config options shown with default values\nel.slideOut('t', {\n easing: 'easeOut',\n duration: 500,\n remove: false,\n useDisplay: false\n});\n
\nOne of the valid Fx anchor positions
\nDefaults to: "t"
Object literal with any of the Fx config options
\nThe Element
\nStops the specified event(s) from bubbling and optionally prevents the default action
\nan event / array of events to stop from bubbling
\ntrue to prevent the default action too
\nthis
\nBlinks the element as if it was clicked and then collapses on its center (similar to switching off a television).\nWhen the effect is completed, the element will be hidden (visibility = 'hidden') but block elements will still\ntake up space in the document. The element must be removed from the DOM using the 'remove' config option if\ndesired. Usage:
\n\n// default\nel.switchOff();\n\n// all config options shown with default values\nel.switchOff({\n easing: 'easeIn',\n duration: .3,\n remove: false,\n useDisplay: false\n});\n
\nObject literal with any of the Fx config options
\nThe Element
\nToggles the element's visibility or display, depending on visibility mode.
\nTrue for the default animation, or a standard Element animation config object
\nthis
\nToggles the specified CSS class on this element (removes it if it already exists, otherwise adds it).
\nThe CSS class to toggle
\nthis
\nTranslates the passed page coordinates into left/top css values for this element
\nThe page x or an array containing [x, y]
\nThe page y, required if x is not an array
\nAn object with left and top properties. e.g. {left: (value), top: (value)}
\nShorthand for removeListener.
\n\nRemoves an event handler from this element.
\n\nNote: if a scope was explicitly specified when adding the listener,\nthe same scope must be specified here.
\n\nExample:
\n\nel.removeListener('click', this.handlerFn);\n// or\nel.un('click', this.handlerFn);\n
\nThe name of the event from which to remove the handler.
\n\nThe handler function to remove. This must be a reference to the function passed into the\naddListener call.
\n\nIf a scope (this reference) was specified when the listener was added, then this must\nrefer to the same object.
\n\nthis
\n\nWalks up the dom looking for a parent node that matches the passed simple selector (e.g. div.some-class or span:first-child).\nThis is a shortcut for findParentNode() that always returns an Ext.Element.
\nThe simple selector to test
\nThe max depth to search as a number or element (defaults to 10 || document.body)
\nThe matching DOM node (or null if no match was found)
\nCreates and wraps this element with another element
\nDomHelper element config object for the wrapper element or null for an empty div
\nTrue to return the raw DOM element instead of Ext.Element
\nThe newly created wrapper element
\nGets the globally shared flyweight Element, with the passed node as the active element. Do not store a reference\nto this element - the dom node can be overwritten by other code. Ext.fly is alias for\nfly.
\n\nUse this to make one-time references to DOM elements which are not going to be accessed again either by\napplication code, or by Ext's classes. If accessing an element which will be processed regularly, then Ext.get will be more appropriate to take advantage of the caching provided by the Ext.Element\nclass.
\nThe dom node or id
\nAllows for creation of named reusable flyweights to prevent conflicts (e.g.\ninternally Ext uses \"_global\")
\nThe shared Element object (or null if no matching element was found)
\nRetrieves Ext.Element objects. Ext.get is an alias for get.
\n\nThis method does not retrieve Components. This method retrieves Ext.Element\nobjects which encapsulate DOM elements. To retrieve a Component by its ID, use Ext.ComponentManager.get.
\n\nUses simple caching to consistently return the same object. Automatically fixes if an object was recreated with\nthe same id via AJAX or DOM.
\nThe id of the node, a DOM Node or an existing Element.
\nThe Element object (or null if no matching element was found)
\nRetrieves the current orientation of the window. This is calculated by\ndeterming if the height is greater than the width.
\nOrientation of window: 'portrait' or 'landscape'
\nRetrieves the viewport size of the window.
\nobject containing width and height properties
\nParses a number or string representing margin sizes into an object. Supports CSS-style margin declarations\n(e.g. 10, \"10\", \"10 10\", \"10 10 10\" and \"10 10 10 10\" are all valid options and would return the same result)
\nAn object with margin sizes for top, right, bottom and left
\nConverts a CSS string into an object with a property for each style.
\n\n\nThe sample code below would return an object with 2 properties, one\nfor background-color and one for color.
\n\n\nvar css = 'background-color: red;color: blue; ';\nconsole.log(Ext.Element.parseStyles(css));\n
\n\nA CSS string
\nstyles
\nParses a number or string representing margin sizes into an object. Supports CSS-style margin declarations\n(e.g. 10, \"10\", \"10 10\", \"10 10 10\" and \"10 10 10 10\" are all valid options and would return the same result)
\nAn string with unitized (px if units is not specified) metrics for top, right, bottom and left
\nWhere supported. Fires when an element is activated, for instance, through a mouse click or a keypress.
\nThe Ext.EventObject encapsulating the DOM event.
\nThe target of the event.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nWhere supported. Fires when an attribute has been modified.
\nThe Ext.EventObject encapsulating the DOM event.
\nThe target of the event.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nWhere supported. Fires when the character data has been modified.
\nThe Ext.EventObject encapsulating the DOM event.
\nThe target of the event.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nWhere supported. Similar to HTML focus event, but can be applied to any focusable element.
\nThe Ext.EventObject encapsulating the DOM event.
\nThe target of the event.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nWhere supported. Similar to HTML blur event, but can be applied to any focusable element.
\nThe Ext.EventObject encapsulating the DOM event.
\nThe target of the event.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nWhere supported. Fires when a node has been added as a child of another node.
\nThe Ext.EventObject encapsulating the DOM event.
\nThe target of the event.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nWhere supported. Fires when a node is being inserted into a document.
\nThe Ext.EventObject encapsulating the DOM event.
\nThe target of the event.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nWhere supported. Fires when a descendant node of the element is removed.
\nThe Ext.EventObject encapsulating the DOM event.
\nThe target of the event.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nWhere supported. Fires when a node is being removed from a document.
\nThe Ext.EventObject encapsulating the DOM event.
\nThe target of the event.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nWhere supported. Fires when the subtree is modified.
\nThe Ext.EventObject encapsulating the DOM event.
\nThe target of the event.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires when an object/image is stopped from loading before completely loaded.
\nThe Ext.EventObject encapsulating the DOM event.
\nThe target of the event.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires when an element loses focus either via the pointing device or by tabbing navigation.
\nThe Ext.EventObject encapsulating the DOM event.
\nThe target of the event.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires when a control loses the input focus and its value has been modified since gaining focus.
\nThe Ext.EventObject encapsulating the DOM event.
\nThe target of the event.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires when a mouse click is detected within the element.
\nThe Ext.EventObject encapsulating the DOM event.
\nThe target of the event.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires when a mouse double click is detected within the element.
\nThe Ext.EventObject encapsulating the DOM event.
\nThe target of the event.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires when an object/image/frame cannot be loaded properly.
\nThe Ext.EventObject encapsulating the DOM event.
\nThe target of the event.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires when an element receives focus either via the pointing device or by tab navigation.
\nThe Ext.EventObject encapsulating the DOM event.
\nThe target of the event.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires when a keydown is detected within the element.
\nThe Ext.EventObject encapsulating the DOM event.
\nThe target of the event.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires when a keypress is detected within the element.
\nThe Ext.EventObject encapsulating the DOM event.
\nThe target of the event.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires when a keyup is detected within the element.
\nThe Ext.EventObject encapsulating the DOM event.
\nThe target of the event.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires when the user agent finishes loading all content within the element. Only supported by window, frames,\nobjects and images.
\nThe Ext.EventObject encapsulating the DOM event.
\nThe target of the event.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires when a mousedown is detected within the element.
\nThe Ext.EventObject encapsulating the DOM event.
\nThe target of the event.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires when the mouse enters the element.
\nThe Ext.EventObject encapsulating the DOM event.
\nThe target of the event.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires when the mouse leaves the element.
\nThe Ext.EventObject encapsulating the DOM event.
\nThe target of the event.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires when a mousemove is detected with the element.
\nThe Ext.EventObject encapsulating the DOM event.
\nThe target of the event.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires when a mouseout is detected with the element.
\nThe Ext.EventObject encapsulating the DOM event.
\nThe target of the event.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires when a mouseover is detected within the element.
\nThe Ext.EventObject encapsulating the DOM event.
\nThe target of the event.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires when a mouseup is detected within the element.
\nThe Ext.EventObject encapsulating the DOM event.
\nThe target of the event.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires when a form is reset.
\nThe Ext.EventObject encapsulating the DOM event.
\nThe target of the event.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires when a document view is resized.
\nThe Ext.EventObject encapsulating the DOM event.
\nThe target of the event.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires when a document view is scrolled.
\nThe Ext.EventObject encapsulating the DOM event.
\nThe target of the event.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires when a user selects some text in a text field, including input and textarea.
\nThe Ext.EventObject encapsulating the DOM event.
\nThe target of the event.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires when a form is submitted.
\nThe Ext.EventObject encapsulating the DOM event.
\nThe target of the event.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires when the user agent removes all content from a window or frame. For elements, it fires when the target\nelement or any of its content has been removed.
\nThe Ext.EventObject encapsulating the DOM event.
\nThe target of the event.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\n