Ext.data.JsonP.Ext_dom_Layer({"alternateClassNames":["Ext.Layer"],"aliases":{},"enum":null,"parentMixins":[],"tagname":"class","subclasses":[],"extends":"Ext.Element","uses":["Ext.Shadow"],"html":"

Alternate names

Ext.Layer

Hierarchy

Uses

Files

An extended Ext.Element object that supports a shadow and shim, constrain to viewport and\nautomatic maintaining of shadow/shim positions.

\n
Defined By

Config options

Ext.dom.Layer
view source
cls : String

CSS class to add to the element

\n

CSS class to add to the element

\n
False to disable constrain to viewport. ...

False to disable constrain to viewport.

\n

Defaults to: true

Ext.dom.Layer
view source
: Object
DomHelper object config to create element with. ...

DomHelper object config to create element with.

\n

Defaults to: {tag: 'div', cls: 'x-layer'}

A String which specifies how this Layer will be hidden. ...

A String which specifies how this Layer will be hidden.\nValues may be:

\n\n
    \n
  • 'display' : The Component will be hidden using the display: none style.
  • \n
  • 'visibility' : The Component will be hidden using the visibility: hidden style.
  • \n
  • 'offsets' : The Component will be hidden by absolutely positioning it out of the visible area\nof the document. This is useful when a hidden Component must maintain measurable dimensions.\nHiding using display results in a Component having zero dimensions.
  • \n
\n\n
True to automatically create an Ext.Shadow, or a string indicating the\nshadow's display Ext.Shadow.mode. ...

True to automatically create an Ext.Shadow, or a string indicating the\nshadow's display Ext.Shadow.mode. False to disable the shadow.

\n

Defaults to: false

Number of pixels to offset the shadow ...

Number of pixels to offset the shadow

\n

Defaults to: 4

Ext.dom.Layer
view source
: Boolean
False to disable the iframe shim in browsers which need one. ...

False to disable the iframe shim in browsers which need one.

\n

Defaults to: true

Defaults to use css offsets to hide the Layer. ...

Defaults to use css offsets to hide the Layer. Specify true\nto use css style 'display:none;' to hide the Layer.

\n

Defaults to: false

The CSS class name to add in order to hide this Layer if this layer\nis configured with hideMode: 'asclass'

\n

The CSS class name to add in order to hide this Layer if this layer\nis configured with hideMode: 'asclass'

\n
Ext.dom.Layer
view source
: Number
Starting z-index. ...

Starting z-index.

\n

Defaults to: 11000

Properties

Defined By

Instance Properties

...
\n

Defaults to: 'Ext.Base'

Defined in override Ext.rtl.dom.Element_position. ...

Defined in override Ext.rtl.dom.Element_position.

\n

Defaults to: ['position', 'top', 'right']

True to automatically adjust width and height settings for box-model issues. ...

True to automatically adjust width and height settings for box-model issues.

\n

Defaults to: true

...
\n

Defaults to: {}

The default unit to append to CSS values where a unit isn't provided. ...

The default unit to append to CSS values where a unit isn't provided.

\n\n

Overridden in Ext.dom.AbstractElement_static.

\n

Defaults to: "px"

The DOM element

\n

The DOM element

\n
Returns the X,Y position of the passed element in browser document space without regard\nto any RTL direction settings. ...

Returns the X,Y position of the passed element in browser document space without regard\nto any RTL direction settings.

\n\n

Defined in override Ext.dom.Element_position.

\n

The DOM element ID

\n

The DOM element ID

\n
...
\n

Defaults to: []

...
\n

Defaults to: {}

...
\n

Defaults to: true

Ext.dom.Layer
view source
: Booleanprivate
...
\n

Defaults to: true

Ext.dom.Layer
view source
: Objectprivate
...
\n

Defaults to: {get: 'getLocalXY', set: 'setLocalXY'}

The element's default display mode. ...

The element's default display mode.

\n\n

Defined in override Ext.dom.Element_fx.

\n

Defaults to: ""

Get the reference to the current class from which this object was instantiated. ...

Get the reference to the current class from which this object was instantiated. Unlike statics,\nthis.self is scope-dependent and it's meant to be used for dynamic inheritance. See statics\nfor a detailed comparison

\n\n
Ext.define('My.Cat', {\n    statics: {\n        speciesName: 'Cat' // My.Cat.speciesName = 'Cat'\n    },\n\n    constructor: function() {\n        alert(this.self.speciesName); // dependent on 'this'\n    },\n\n    clone: function() {\n        return new this.self();\n    }\n});\n\n\nExt.define('My.SnowLeopard', {\n    extend: 'My.Cat',\n    statics: {\n        speciesName: 'Snow Leopard'         // My.SnowLeopard.speciesName = 'Snow Leopard'\n    }\n});\n\nvar cat = new My.Cat();                     // alerts 'Cat'\nvar snowLeopard = new My.SnowLeopard();     // alerts 'Snow Leopard'\n\nvar clone = snowLeopard.clone();\nalert(Ext.getClassName(clone));             // alerts 'My.SnowLeopard'\n
\n
This shared object is keyed by style name (e.g., 'margin-left' or 'marginLeft'). ...

This shared object is keyed by style name (e.g., 'margin-left' or 'marginLeft'). The\nvalues are objects with the following properties:

\n\n
    \n
  • name (String) : The actual name to be presented to the DOM. This is typically the value\n returned by normalize.
  • \n
  • get (Function) : A hook function that will perform the get on this style. These\n functions receive \"(dom, el)\" arguments. The dom parameter is the DOM Element\n from which to get ths tyle. The el argument (may be null) is the Ext.Element.
  • \n
  • set (Function) : A hook function that will perform the set on this style. These\n functions receive \"(dom, value, el)\" arguments. The dom parameter is the DOM Element\n from which to get ths tyle. The value parameter is the new value for the style. The\n el argument (may be null) is the Ext.Element.
  • \n
\n\n\n

The this pointer is the object that contains get or set, which means that\nthis.name can be accessed if needed. The hook functions are both optional.

\n\n

Defined in override Ext.dom.AbstractElement_style.

\n

Defaults to: {}

Defined By

Static Properties

...
\n

Defaults to: []

Visibility mode constant for use with Ext.dom.Element.setVisibilityMode. ...

Visibility mode constant for use with Ext.dom.Element.setVisibilityMode.\nAdd or remove the Ext.Layer.visibilityCls class to hide the element.

\n

Defaults to: 4

Visibility mode constant for use with Ext.dom.Element.setVisibilityMode. ...

Visibility mode constant for use with Ext.dom.Element.setVisibilityMode.\nUse the CSS 'display' property to hide the element.

\n

Defaults to: 2

Visibility mode constant for use with Ext.dom.Element.setVisibilityMode. ...

Visibility mode constant for use with Ext.dom.Element.setVisibilityMode.\nUse CSS absolute positioning and top/left offsets to hide the element.

\n

Defaults to: 3

Visibility mode constant for use with Ext.dom.Element.setVisibilityMode. ...

Visibility mode constant for use with Ext.dom.Element.setVisibilityMode.\nUse the CSS 'visibility' property to hide the element.

\n\n

Note that in this mode, isVisible may return true\nfor an element even though it actually has a parent element that is hidden. For this\nreason, and in most cases, using the OFFSETS mode is a better choice.

\n

Defaults to: 1

Defined in override Ext.dom.AbstractElement_static. ...

Defined in override Ext.dom.AbstractElement_static.

\n

Defaults to: {l: 'border-left-width', r: 'border-right-width', t: 'border-top-width', b: 'border-bottom-width'}

Defined in override Ext.dom.AbstractElement_static. ...

Defined in override Ext.dom.AbstractElement_static.

\n

Defaults to: /(-[a-z])/gi

Defined in override Ext.dom.AbstractElement_static. ...

Defined in override Ext.dom.AbstractElement_static.

\n

Defaults to: /([a-z0-9\\-]+)\\s*:\\s*([^;\\s]+(?:\\s*[^;\\s]+)*)?;?/gi

Defined in override Ext.dom.AbstractElement_static. ...

Defined in override Ext.dom.AbstractElement_static.

\n

Defaults to: {l: 'margin-left', r: 'margin-right', t: 'margin-top', b: 'margin-bottom'}

Defined in override Ext.dom.AbstractElement_static. ...

Defined in override Ext.dom.AbstractElement_static.

\n

Defaults to: /^-ms-/

Defined in override Ext.dom.AbstractElement_static. ...

Defined in override Ext.dom.AbstractElement_static.

\n

Defaults to: /alpha\\(opacity=(.*)\\)/i

Defined in override Ext.dom.AbstractElement_static. ...

Defined in override Ext.dom.AbstractElement_static.

\n

Defaults to: {l: 'padding-left', r: 'padding-right', t: 'padding-top', b: 'padding-bottom'}

Defined in override Ext.dom.AbstractElement_static. ...

Defined in override Ext.dom.AbstractElement_static.

\n

Defaults to: {}

Ext.dom.Layer
view source
: Arrayprivatestatic
...
\n

Defaults to: []

...
\n

Defaults to: /^\\s+|\\s+$/g

Defined in override Ext.dom.AbstractElement_static. ...

Defined in override Ext.dom.AbstractElement_static.

\n

Defaults to: /\\d+(px|em|%|en|ex|pt|in|cm|mm|pc)$/i

...
\n

Defaults to: /\\s/

Methods

Defined By

Instance Methods

Ext.dom.Layer
view source
new( [config], [existingEl] ) : Ext.dom.Layer
Creates new Layer. ...

Creates new Layer.

\n

Parameters

  • config : Object (optional)

    An object with config options.

    \n
  • existingEl : String/HTMLElement (optional)

    Uses an existing DOM element.\nIf the element is not found it creates it.

    \n

Returns

Overrides: Ext.dom.Element.constructor

Adds one or more CSS classes to the element. ...

Adds one or more CSS classes to the element. Duplicate classes are automatically filtered out.

\n\n

Defined in override Ext.dom.AbstractElement_style.

\n

Parameters

  • className : String/String[]

    The CSS classes to add separated by space, or an array of classes

    \n

Returns

( className, [testFn], [scope] ) : Ext.dom.Elementchainable
Sets up event handlers to add and remove a css class when the mouse is down and then up on this element (a click effe...

Sets up event handlers to add and remove a css class when the mouse is down and then up on this element (a click effect)

\n\n

Defined in override Ext.dom.Element_style.

\n

Parameters

  • className : String

    The class to add

    \n
  • testFn : Function (optional)

    A test function to execute before adding the class. The passed parameter\nwill be the Element instance. If this functions returns false, the class will not be added.

    \n
  • scope : Object (optional)

    The scope to execute the testFn in.

    \n

Returns

( className, [testFn], [scope] ) : Ext.dom.Elementchainable
Sets up event handlers to add and remove a css class when this element has the focus\n\nDefined in override Ext.dom.Ele...

Sets up event handlers to add and remove a css class when this element has the focus

\n\n

Defined in override Ext.dom.Element_style.

\n

Parameters

  • className : String

    The class to add

    \n
  • testFn : Function (optional)

    A test function to execute before adding the class. The passed parameter\nwill be the Element instance. If this functions returns false, the class will not be added.

    \n
  • scope : Object (optional)

    The scope to execute the testFn in.

    \n

Returns

( className, [testFn], [scope] ) : Ext.dom.Elementchainable
Sets up event handlers to add and remove a css class when the mouse is over this element\n\nDefined in override Ext.dom...

Sets up event handlers to add and remove a css class when the mouse is over this element

\n\n

Defined in override Ext.dom.Element_style.

\n

Parameters

  • className : String

    The class to add

    \n
  • testFn : Function (optional)

    A test function to execute before adding the class. The passed parameter\nwill be the Element instance. If this functions returns false, the class will not be added.

    \n
  • scope : Object (optional)

    The scope to execute the testFn in.

    \n

Returns

Convenience method for constructing a KeyMap ...

Convenience method for constructing a KeyMap

\n

Parameters

  • key : String/Number/Number[]/Object

    Either a string with the keys to listen for, the numeric key code,\narray of key codes or an object with the following options:

    \n
  • fn : Function

    The function to call

    \n
  • scope : Object (optional)

    The scope (this reference) in which the specified function is executed. Defaults to this Element.

    \n

Returns

Creates a KeyMap for this element ...

Creates a KeyMap for this element

\n

Parameters

Returns

( eventName, fn, [scope], [options] ) : Ext.dom.Elementchainable
Shorthand for on. ...

Shorthand for on.

\n\n

Appends an event handler to this element.

\n

Parameters

  • eventName : String

    The name of event to handle.

    \n\n
  • fn : Function

    The handler function the event invokes. This function is passed the following parameters:

    \n\n\n\n\n
      \n
    • evt : EventObject

      \n\n

      The EventObject describing the event.

    • \n
    • el : HtmlElement

      \n\n

      The DOM element which was the target of the event. Note that this may be filtered by using the delegate option.

    • \n
    • o : Object

      \n\n

      The options object from the call that setup the listener.

    • \n
    \n\n\n\n
  • scope : Object (optional)

    The scope (this reference) in which the handler function is executed. If\nomitted, defaults to this Element.

    \n\n
  • options : Object (optional)

    An object containing handler configuration properties. This may contain any of\nthe following properties:

    \n\n\n\n\n
      \n
    • scope Object :

      \n\n

      The scope (this reference) in which the handler function is executed. If omitted, defaults to this\nElement.

    • \n
    • delegate String:

      \n\n

      A simple selector to filter the target or look for a descendant of the target. See below for additional details.

    • \n
    • stopEvent Boolean:

      \n\n

      True to stop the event. That is stop propagation, and prevent the default action.

    • \n
    • preventDefault Boolean:

      \n\n

      True to prevent the default action

    • \n
    • stopPropagation Boolean:

      \n\n

      True to prevent event propagation

    • \n
    • normalized Boolean:

      \n\n

      False to pass a browser event to the handler function instead of an Ext.EventObject

    • \n
    • target Ext.dom.Element:

      \n\n

      Only call the handler if the event was fired on the target Element, not if the event was bubbled up from a\nchild node.

    • \n
    • delay Number:

      \n\n

      The number of milliseconds to delay the invocation of the handler after the event fires.

    • \n
    • single Boolean:

      \n\n

      True to add a handler to handle just the next firing of the event, and then remove itself.

    • \n
    • buffer Number:

      \n\n

      Causes 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.

    • \n
    \n\n\n\n\n

    Combining Options

    \n\n\n\n\n

    Using the options argument, it is possible to combine different types of listeners:

    \n\n\n\n\n

    A 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\n

    Code:

    \n\n\n\n\n
    el.on('click', this.onClick, this, {\n    single: true,\n    delay: 100,\n    stopEvent : true,\n    forumId: 4\n});\n
    \n\n\n\n\n

    Attaching multiple handlers in 1 call

    \n\n\n\n\n

    The 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\n

    Code:

    \n\n\n\n\n
    el.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\n

    Or a shorthand syntax:

    \n\n\n\n\n

    Code:

    \n\n\n\n\n
    el.on({\n    'click' : this.onClick,\n    'mouseover' : this.onMouseOver,\n    'mouseout' : this.onMouseOut,\n    scope: this\n});\n
    \n\n\n\n\n

    delegate

    \n\n\n\n\n

    This 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\n

Returns

Returns 1 if the browser returns the subpixel dimension rounded to the lowest pixel. ...

Returns 1 if the browser returns the subpixel dimension rounded to the lowest pixel.

\n\n

Defined in override Ext.dom.Element_style.

\n

Parameters

Returns

Ext.dom.Layer
view source
( )private
...
\n
Defined in override Ext.dom.Element_anim. ...

Defined in override Ext.dom.Element_anim.

\n

Parameters

process the passed fx configuration. ...
    \n
  • process the passed fx configuration.
  • \n
\n\n\n

Defined in override Ext.dom.Element_anim.

\n

Parameters

Performs custom animation on this Element. ...

Performs custom animation on this Element.

\n\n

The following properties may be specified in from, to, and keyframe objects:

\n\n
    \n
  • x - The page X position in pixels.

  • \n
  • y - The page Y position in pixels

  • \n
  • left - The element's CSS left value. Units must be supplied.

  • \n
  • top - The element's CSS top value. Units must be supplied.

  • \n
  • width - The element's CSS width value. Units must be supplied.

  • \n
  • height - The element's CSS height value. Units must be supplied.

  • \n
  • scrollLeft - The element's scrollLeft value.

  • \n
  • scrollTop - The element's scrollTop value.

  • \n
  • opacity - The element's opacity value. This must be a value between 0 and 1.

  • \n
\n\n\n

Be aware that animating an Element which is being used by an Ext Component without in some way informing the\nComponent about the changed element state will result in incorrect Component behaviour. This is because the\nComponent will be using the old state of the element. To avoid this problem, it is now possible to directly\nanimate certain properties of Components.

\n\n

Defined in override Ext.dom.Element_anim.

\n

Parameters

Returns

Appends the passed element(s) to this element\n\nDefined in override Ext.dom.AbstractElement_insertion. ...

Appends the passed element(s) to this element

\n\n

Defined in override Ext.dom.AbstractElement_insertion.

\n

Parameters

Returns

Appends this element to the passed element\n\nDefined in override Ext.dom.AbstractElement_insertion. ...

Appends this element to the passed element

\n\n

Defined in override Ext.dom.AbstractElement_insertion.

\n

Parameters

Returns

More flexible version of setStyle for setting style properties. ...

More flexible version of setStyle for setting style properties.

\n\n

Defined in override Ext.dom.AbstractElement_style.

\n

Parameters

  • styles : String/Object/Function

    A style specification string, e.g. \"width:100px\", or object in the form {width:\"100px\"}, or\na function which returns such a specification.

    \n

Returns

Ext.dom.Layer
view source
( )private
...
\n
Ext.dom.Layer
view source
( )private
...
\n
Ext.dom.Layer
view source
( )private
...
\n
Tries to blur the element. ...

Tries to blur the element. Any exceptions are caught and ignored.

\n

Returns

Wraps the specified element with a special 9 element markup/CSS block that renders by default as\na gray container wit...

Wraps 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

This special markup is used throughout Ext when box wrapping elements (Ext.button.Button,\nExt.panel.Panel when frame=true, Ext.window.Window).\nThe markup is of this form:

\n\n
Ext.dom.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

Example usage:

\n\n
// Basic box wrap\nExt.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.\nExt.get(\"foo\").boxWrap().addCls(\"x-box-blue\");\n
\n\n

Defined in override Ext.dom.Element_style.

\n

Parameters

  • class : String (optional)

    A base CSS class to apply to the containing wrapper element.\nNote that there are a number of CSS rules that are dependent on this name to make the overall effect work,\nso if you supply an alternate base class, make sure you also supply all of the necessary rules.

    \n

    Defaults to: 'x-box'

Returns

  • Ext.dom.Element

    The outermost wrapping element of the created box structure.

    \n
When an element is moved around in the DOM, or is hidden using display:none, it loses layout, and therefore\nall scrol...

When an element is moved around in the DOM, or is hidden using display:none, it loses layout, and therefore\nall scroll positions of all descendant elements are lost.

\n\n

This function caches them, and returns a function, which when run will restore the cached positions.\nIn the following example, the Panel is moved from one Container to another which will cause it to lose all scroll positions:

\n\n
var restoreScroll = myPanel.el.cacheScrollValues();\nmyOtherContainer.add(myPanel);\nrestoreScroll();\n
\n

Returns

  • Function

    A function which will restore all descentant elements of this Element to their scroll\npositions recorded when this function was executed. Be aware that the returned function is a closure which has\ncaptured the scope of cacheScrollValues, so take care to derefence it as soon as not needed - if is it is a var\nit will drop out of scope, and the reference will be freed.

    \n
( args ) : Objectdeprecatedprotected
Call the original method that was previously overridden with override\n\nExt.define('My.Cat', {\n constructor: functi...

Call the original method that was previously overridden with override

\n\n
Ext.define('My.Cat', {\n    constructor: function() {\n        alert(\"I'm a cat!\");\n    }\n});\n\nMy.Cat.override({\n    constructor: function() {\n        alert(\"I'm going to be a cat!\");\n\n        this.callOverridden();\n\n        alert(\"Meeeeoooowwww\");\n    }\n});\n\nvar kitty = new My.Cat(); // alerts \"I'm going to be a cat!\"\n                          // alerts \"I'm a cat!\"\n                          // alerts \"Meeeeoooowwww\"\n
\n
\n

This method has been deprecated

\n

as of 4.1. Use callParent instead.

\n\n
\n

Parameters

  • args : Array/Arguments

    The arguments, either an array or the arguments object\nfrom the current method, for example: this.callOverridden(arguments)

    \n

Returns

  • Object

    Returns the result of calling the overridden method

    \n
Call the \"parent\" method of the current method. ...

Call the \"parent\" method of the current method. That is the method previously\noverridden by derivation or by an override (see Ext.define).

\n\n
 Ext.define('My.Base', {\n     constructor: function (x) {\n         this.x = x;\n     },\n\n     statics: {\n         method: function (x) {\n             return x;\n         }\n     }\n });\n\n Ext.define('My.Derived', {\n     extend: 'My.Base',\n\n     constructor: function () {\n         this.callParent([21]);\n     }\n });\n\n var obj = new My.Derived();\n\n alert(obj.x);  // alerts 21\n
\n\n

This can be used with an override as follows:

\n\n
 Ext.define('My.DerivedOverride', {\n     override: 'My.Derived',\n\n     constructor: function (x) {\n         this.callParent([x*2]); // calls original My.Derived constructor\n     }\n });\n\n var obj = new My.Derived();\n\n alert(obj.x);  // now alerts 42\n
\n\n

This also works with static methods.

\n\n
 Ext.define('My.Derived2', {\n     extend: 'My.Base',\n\n     statics: {\n         method: function (x) {\n             return this.callParent([x*2]); // calls My.Base.method\n         }\n     }\n });\n\n alert(My.Base.method(10);     // alerts 10\n alert(My.Derived2.method(10); // alerts 20\n
\n\n

Lastly, it also works with overridden static methods.

\n\n
 Ext.define('My.Derived2Override', {\n     override: 'My.Derived2',\n\n     statics: {\n         method: function (x) {\n             return this.callParent([x*2]); // calls My.Derived2.method\n         }\n     }\n });\n\n alert(My.Derived2.method(10); // now alerts 40\n
\n\n

To override a method and replace it and also call the superclass method, use\ncallSuper. This is often done to patch a method to fix a bug.

\n

Parameters

  • args : Array/Arguments

    The arguments, either an array or the arguments object\nfrom the current method, for example: this.callParent(arguments)

    \n

Returns

  • Object

    Returns the result of calling the parent method

    \n
This method is used by an override to call the superclass method but bypass any\noverridden method. ...

This method is used by an override to call the superclass method but bypass any\noverridden method. This is often done to \"patch\" a method that contains a bug\nbut for whatever reason cannot be fixed directly.

\n\n

Consider:

\n\n
 Ext.define('Ext.some.Class', {\n     method: function () {\n         console.log('Good');\n     }\n });\n\n Ext.define('Ext.some.DerivedClass', {\n     method: function () {\n         console.log('Bad');\n\n         // ... logic but with a bug ...\n\n         this.callParent();\n     }\n });\n
\n\n

To patch the bug in DerivedClass.method, the typical solution is to create an\noverride:

\n\n
 Ext.define('App.paches.DerivedClass', {\n     override: 'Ext.some.DerivedClass',\n\n     method: function () {\n         console.log('Fixed');\n\n         // ... logic but with bug fixed ...\n\n         this.callSuper();\n     }\n });\n
\n\n

The patch method cannot use callParent to call the superclass method since\nthat would call the overridden method containing the bug. In other words, the\nabove patch would only produce \"Fixed\" then \"Good\" in the console log, whereas,\nusing callParent would produce \"Fixed\" then \"Bad\" then \"Good\".

\n

Parameters

  • args : Array/Arguments

    The arguments, either an array or the arguments object\nfrom the current method, for example: this.callSuper(arguments)

    \n

Returns

  • Object

    Returns the result of calling the superclass method

    \n
Centers the Element in either the viewport, or another Element. ...

Centers the Element in either the viewport, or another Element.

\n\n

Defined in override Ext.dom.Element_position.

\n

Parameters

( selector, [returnDom] ) : HTMLElement/Ext.dom.Element
Selects a single direct child based on the passed CSS selector (the selector should not contain an id). ...

Selects a single direct child based on the passed CSS selector (the selector should not contain an id).

\n\n

Defined in override Ext.dom.AbstractElement_traversal.

\n

Parameters

  • selector : String

    The CSS selector

    \n
  • returnDom : Boolean (optional)

    True to return the DOM node instead of Ext.dom.Element.

    \n

    Defaults to: false

Returns

Removes Empty, or whitespace filled text nodes. ...

Removes Empty, or whitespace filled text nodes. Combines adjacent text nodes.

\n

Parameters

  • forceReclean : Boolean (optional)

    By default the element keeps track if it has been cleaned already\nso you can call this over and over. However, if you update the element and need to force a reclean, you\ncan pass true.

    \n

    Defaults to: false

Alias for removeAllListeners. ...

Alias for removeAllListeners.

\n\n

Removes all previous added listeners from this element

\n

Returns

Clears any opacity settings from this element. ...

Clears any opacity settings from this element. Required in some cases for IE.

\n\n

Defined in override Ext.dom.Element_style.

\n

Returns

Clears positioning back to the default when the document was loaded. ...

Clears positioning back to the default when the document was loaded.

\n\n

Defined in override Ext.dom.Element_position.

\n

Parameters

  • value : String (optional)

    The value to use for the left, right, top, bottom.\nYou could use 'auto'.

    \n

    Defaults to: ''

Returns

Store the current overflow setting and clip overflow on the element - use unclip to remove\n\nDefined in override Ext.d...

Store the current overflow setting and clip overflow on the element - use unclip to remove

\n\n

Defined in override Ext.dom.Element_style.

\n

Returns

Defined in override Ext.dom.Element_scroll. ...

Defined in override Ext.dom.Element_scroll.

\n

Parameters

Defined in override Ext.dom.Element_scroll. ...

Defined in override Ext.dom.Element_scroll.

\n

Parameters

Ext.dom.Layer
view source
( ) : Ext.dom.Layerchainableprivate
...
\n

Returns

Returns true if this element is an ancestor of the passed element ...

Returns true if this element is an ancestor of the passed element

\n

Parameters

  • el : HTMLElement/String

    The element to check

    \n

Returns

  • Boolean

    True if this element is an ancestor of el, else false

    \n
Ext.dom.Layer
view source
( callback )private
...
\n

Parameters

Creates the passed DomHelper config and appends it to this element or optionally inserts it before the passed child e...

Creates the passed DomHelper config and appends it to this element or optionally inserts it before the passed child element.

\n\n

Defined in override Ext.dom.AbstractElement_insertion.

\n

Parameters

  • config : Object

    DomHelper element config object. If no tag is specified (e.g., {tag:'input'}) then a div will be\nautomatically generated with the specified attributes.

    \n
  • insertBefore : HTMLElement (optional)

    a child element of this element

    \n
  • returnDom : Boolean (optional)

    true to return the dom node instead of creating an Element

    \n

    Defaults to: false

Returns

( config, [renderTo], [matchBox] ) : Ext.dom.Element
Creates a proxy element of this element ...

Creates a proxy element of this element

\n

Parameters

  • config : String/Object

    The class name of the proxy element or a DomHelper config object

    \n
  • renderTo : String/HTMLElement (optional)

    The element or element id to render the proxy to. Defaults to: document.body.

    \n
  • matchBox : Boolean (optional)

    True to align and size the proxy to this element now.

    \n

    Defaults to: false

Returns

Creates an iframe shim for this element to keep selects and other windowed objects from\nshowing through. ...

Creates an iframe shim for this element to keep selects and other windowed objects from\nshowing through.

\n

Returns

Alias to remove. ...

Alias to remove.

\n\n

Removes this element's dom reference. Note that event and cache removal is handled at Ext.removeNode

\n

Overrides: Ext.Base.destroy

Ext.dom.Layer
view source
( )private
...
\n
( selector, [returnDom] ) : HTMLElement/Ext.dom.Element
Selects a single child at any depth below this element based on the passed CSS selector (the selector should not cont...

Selects a single child at any depth below this element based on the passed CSS selector (the selector should not contain an id).

\n\n

Defined in override Ext.dom.AbstractElement_traversal.

\n

Parameters

Returns

Convenience method for setVisibilityMode(Element.DISPLAY) ...

Convenience method for setVisibilityMode(Element.DISPLAY)

\n

Parameters

  • display : String (optional)

    What to set display to when visible

    \n

Returns

Ext.dom.Layer
view source
( show )private
...
\n

Parameters

Ext.dom.Layer
view source
( )private
...
\n
Fade an element in (from transparent to opaque). ...

Fade an element in (from transparent to opaque). The ending opacity can be specified using the opacity\nconfig option. Usage:

\n\n
// 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
\n\n

Defined in override Ext.dom.Element_anim.

\n

Parameters

  • options : Object (optional)

    Object literal with any of the Ext.fx.Anim config options

    \n

Returns

Fade an element out (from opaque to transparent). ...

Fade 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:

\n\n
// 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
\n\n

Defined in override Ext.dom.Element_anim.

\n

Parameters

  • options : Object (optional)

    Object literal with any of the Ext.fx.Anim config options

    \n

Returns

( selector, [limit], [returnEl] ) : HTMLElement
Looks at this node and then at parent nodes for a match of the passed simple selector (e.g. ...

Looks 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)

\n\n

Defined in override Ext.dom.AbstractElement_traversal.

\n

Parameters

  • selector : String

    The simple selector to test

    \n
  • limit : Number/String/HTMLElement/Ext.Element (optional)

    The max depth to search as a number or an element which causes the upward traversal to stop\nand is not considered for inclusion as the result. (defaults to 50 || document.documentElement)

    \n
  • returnEl : Boolean (optional)

    True to return a Ext.Element object instead of DOM node

    \n

    Defaults to: false

Returns

  • HTMLElement

    The matching DOM node (or null if no match was found)

    \n
( selector, [limit], [returnEl] ) : HTMLElement
Looks at parent nodes for a match of the passed simple selector (e.g. ...

Looks at parent nodes for a match of the passed simple selector (e.g. div.some-class or span:first-child)

\n\n

Defined in override Ext.dom.AbstractElement_traversal.

\n

Parameters

  • selector : String

    The simple selector to test

    \n
  • limit : Number/String/HTMLElement/Ext.Element (optional)

    The max depth to search as a number or an element which causes the upward traversal to stop\nand is not considered for inclusion as the result. (defaults to 50 || document.documentElement)

    \n
  • returnEl : Boolean (optional)

    True to return a Ext.Element object instead of DOM node

    \n

    Defaults to: false

Returns

  • HTMLElement

    The matching DOM node (or null if no match was found)

    \n
( [selector], [returnDom] ) : Ext.dom.Element/HTMLElement
Gets the first child, skipping text nodes\n\nDefined in override Ext.dom.AbstractElement_traversal. ...

Gets the first child, skipping text nodes

\n\n

Defined in override Ext.dom.AbstractElement_traversal.

\n

Parameters

  • selector : String (optional)

    Find the next sibling that matches the passed simple selector

    \n
  • returnDom : Boolean (optional)

    True to return a raw dom node instead of an Ext.dom.Element

    \n

    Defaults to: false

Returns

Tries to focus the element. ...

Tries to focus the element. Any exceptions are caught and ignored.

\n

Parameters

  • defer : Number (optional)

    Milliseconds to defer the focus

    \n

Returns

Alias for isFocusable. ...

Alias for isFocusable.

\n\n

Checks whether this element can be focused.

\n

Parameters

Returns

  • Boolean

    True if the element is focusable

    \n\n
( [color], [count], [options] ) : Ext.dom.Element
Shows a ripple of exploding, attenuating borders to draw attention to an Element. ...

Shows 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: 3000 });\n\n// common config options shown with default values\nel.frame(\"#C3DAF9\", 1, {\n    duration: 1000 // duration of each individual ripple.\n    // Note: Easing is not configurable and will be ignored if included\n});\n
\n\n

Defined in override Ext.dom.Element_anim.

\n

Parameters

  • color : String (optional)

    The hex color value for the border.

    \n

    Defaults to: '#C3DAF9'

  • count : Number (optional)

    The number of ripples to display.

    \n

    Defaults to: 1

  • options : Object (optional)

    Object literal with any of the Ext.fx.Anim config options

    \n

Returns

Returns the active element in the DOM. ...

Returns 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.

\n\n

Defined in override Ext.dom.AbstractElement_static.

\n

Returns

  • HTMLElement

    The active (focused) element in the document.

    \n
Returns the value of an attribute from the element's underlying DOM node. ...

Returns the value of an attribute from the element's underlying DOM node.

\n

Parameters

  • name : String

    The attribute name

    \n
  • namespace : String (optional)

    The namespace in which to look for the attribute

    \n

Returns

Returns the value of a namespaced attribute from the element's underlying DOM node. ...

Returns the value of a namespaced attribute from the element's underlying DOM node.

\n

Parameters

  • namespace : String

    The namespace in which to look for the attribute

    \n
  • name : String

    The attribute name

    \n

Returns

Gets the width of the border(s) for the specified side(s)\n\nDefined in override Ext.dom.AbstractElement_style. ...

Gets the width of the border(s) for the specified side(s)

\n\n

Defined in override Ext.dom.AbstractElement_style.

\n

Parameters

  • side : String

    Can be t, l, r, b or any combination of those to add multiple values. For example,\npassing 'lr' would get the border left width + the border right width.

    \n

Returns

  • Number

    The width of the sides passed added together

    \n
Gets the bottom Y coordinate of the element (element Y position + element height)\n\nDefined in override Ext.dom.Elemen...

Gets the bottom Y coordinate of the element (element Y position + element height)

\n\n

Defined in override Ext.dom.Element_position.

\n
\n

This method has been deprecated

\n \n\n
\n

Parameters

  • local : Boolean

    True to get the local css position instead of page\ncoordinate

    \n

Returns

Returns a child element of this element given its id. ...

Returns a child element of this element given its id.

\n

Parameters

  • id : String

    The id of the desired child element.

    \n
  • asDom : Boolean (optional)

    True to return the DOM element, false to return a\nwrapped Element object.

    \n

    Defaults to: false

Calculates the x, y to center this element on the screen\n\nDefined in override Ext.dom.Element_position. ...

Calculates the x, y to center this element on the screen

\n\n

Defined in override Ext.dom.Element_position.

\n
\n

This method has been deprecated

\n \n\n
\n

Returns

  • Number[]

    The x, y values [x, y]

    \n
( attr, defaultValue, [prefix] )
Return the CSS color for the specified CSS attribute. ...

Return the CSS color for the specified CSS attribute. rgb, 3 digit (like #fff) and valid values\nare convert to standard 6 digit hex color.

\n\n

Defined in override Ext.dom.Element_style.

\n

Parameters

  • attr : String

    The css attribute

    \n
  • defaultValue : String

    The default value to use when a valid color isn't found

    \n
  • prefix : String (optional)

    defaults to #. Use an empty string when working with\ncolor anims.

    \n
Returns either the offsetHeight or the height of this element based on CSS height adjusted by padding or borders\nwhen...

Returns 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.

\n\n

Defined in override Ext.dom.Element_style.

\n

Returns

Returns either the offsetWidth or the width of this element based on CSS width adjusted by padding or borders\nwhen ne...

Returns 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.

\n\n

Defined in override Ext.dom.Element_style.

\n

Returns

...
\n

Parameters

Ext.dom.Layer
view source
( )private
...
\n
Returns the sum width of the padding and borders for the passed \"sides\". ...

Returns the sum width of the padding and borders for the passed \"sides\". See getBorderWidth()\nfor more information about the sides.

\n\n

Defined in override Ext.dom.Element_style.

\n

Parameters

Returns

Returns the innerHTML of an Element or an empty string if the element's\ndom no longer exists. ...

Returns the innerHTML of an Element or an empty string if the element's\ndom no longer exists.

\n
Returns the offset height of the element\n\nDefined in override Ext.dom.AbstractElement_style. ...

Returns the offset height of the element

\n\n

Defined in override Ext.dom.AbstractElement_style.

\n

Parameters

  • contentHeight : Boolean (optional)

    true to get the height minus borders and padding

    \n

Returns

Returns the initial configuration passed to constructor when instantiating\nthis class. ...

Returns the initial configuration passed to constructor when instantiating\nthis class.

\n

Parameters

  • name : String (optional)

    Name of the config option to return.

    \n

Returns

  • Object/Mixed

    The full config object or a single config value\nwhen name parameter specified.

    \n
Gets the left X coordinate\n\nDefined in override Ext.dom.Element_position. ...

Gets the left X coordinate

\n\n

Defined in override Ext.dom.Element_position.

\n
\n

This method has been deprecated

\n

Use getX or getLocalX

\n\n
\n

Parameters

  • local : Boolean

    True to get the local css position instead of\npage coordinate

    \n

Returns

Gets this element's ElementLoader ...

Gets this element's ElementLoader

\n

Returns

Gets the local CSS X position for the element\n\nDefined in override Ext.dom.Element_position. ...

Gets the local CSS X position for the element

\n\n

Defined in override Ext.dom.Element_position.

\n

Returns

Gets the local CSS X and Y position for the element\n\nDefined in override Ext.dom.Element_position. ...

Gets the local CSS X and Y position for the element

\n\n

Defined in override Ext.dom.Element_position.

\n

Returns

Gets the local CSS Y position for the element\n\nDefined in override Ext.dom.Element_position. ...

Gets the local CSS Y position for the element

\n\n

Defined in override Ext.dom.Element_position.

\n

Returns

Returns an object with properties top, left, right and bottom representing the margins of this element unless sides i...

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)

\n\n

Defined in override Ext.dom.AbstractElement_style.

\n

Parameters

  • sides : String (optional)

    Any combination of l, r, t, b to get the sum of those sides

    \n

Returns

Gets the width of the padding(s) for the specified side(s)\n\nDefined in override Ext.dom.AbstractElement_style. ...

Gets the width of the padding(s) for the specified side(s)

\n\n

Defined in override Ext.dom.AbstractElement_style.

\n

Parameters

  • side : String

    Can be t, l, r, b or any combination of those to add multiple values. For example,\npassing 'lr' would get the padding left + the padding right.

    \n

Returns

  • Number

    The padding of the sides passed added together

    \n
Returns an object defining the area of this Element which can be passed to\nExt.util.Positionable.setBox to set anothe...

Returns an object defining the area of this Element which can be passed to\nExt.util.Positionable.setBox to set another Element's size/location to match this element.

\n\n

Defined in override Ext.dom.Element_position.

\n
\n

This method has been deprecated

\n

use Ext.util.Positionable.getBox to get a box object, and\nExt.util.Positionable.getRegion to get a Region.

\n\n
\n

Parameters

Returns

  • Object/Ext.util.Region

    box An object in the following format:

    \n\n
    {\n    left: <Element's X position>,\n    top: <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

    The returned object may also be addressed as an Array where index 0 contains\nthe X position and index 1 contains the Y position. So the result may also be\nused for setXY

    \n
Defined in override Ext.rtl.dom.Element_position. ...

Defined in override Ext.rtl.dom.Element_position.

\n\n

From override Ext.dom.Element_position: Gets an object with all CSS positioning properties. Useful along with

\n\n

setPostioning to get snapshot before performing an update and then restoring

\n\n

the element.

\n

Parameters

Gets the right X coordinate of the element (element X position + element width)\n\nDefined in override Ext.dom.Element_...

Gets the right X coordinate of the element (element X position + element width)

\n\n

Defined in override Ext.dom.Element_position.

\n
\n

This method has been deprecated

\n \n\n
\n

Parameters

  • local : Boolean

    True to get the local css position instead of page\ncoordinates

    \n

Returns

Creates a function to call to clean up problems with the work-around for the\nWebKit RightMargin bug. ...

Creates a function to call to clean up problems with the work-around for the\nWebKit RightMargin bug. The work-around is to add \"display: 'inline-block'\" to\nthe element before calling getComputedStyle and then to restore its original\ndisplay value. The problem with this is that it corrupts the selection of an\nINPUT or TEXTAREA element (as in the \"I-beam\" goes away but ths focus remains).\nTo cleanup after this, we need to capture the selection of any such element and\nthen restore it after we have restored the display style.

\n\n

Defined in override Ext.dom.AbstractElement_static.

\n

Parameters

Returns the current scroll position of the element. ...

Returns the current scroll position of the element.

\n\n

Defined in override Ext.dom.Element_scroll.

\n

Returns

  • Object

    An object containing the scroll position in the format\n{left: (scrollLeft), top: (scrollTop)}

    \n
Gets the left scroll position\n\nDefined in override Ext.dom.Element_scroll. ...

Gets the left scroll position

\n\n

Defined in override Ext.dom.Element_scroll.

\n

Returns

  • Number

    The left scroll position

    \n
Gets the top scroll position\n\nDefined in override Ext.dom.Element_scroll. ...

Gets the top scroll position

\n\n

Defined in override Ext.dom.Element_scroll.

\n

Returns

  • Number

    The top scroll position

    \n
Ext.dom.Layer
view source
( )private
...
\n
Returns the size of the element. ...

Returns the size of the element.

\n\n

Defined in override Ext.dom.AbstractElement_style.

\n

Parameters

  • contentSize : Boolean (optional)

    true to get the width/size minus borders and padding

    \n

Returns

Returns a named style property based on computed/currentStyle (primary) and\ninline-style if primary is not available. ...

Returns a named style property based on computed/currentStyle (primary) and\ninline-style if primary is not available.

\n\n

Defined in override Ext.dom.AbstractElement_style.

\n

Parameters

  • property : String/String[]

    The style property (or multiple property names\nin an array) whose value is returned.

    \n
  • inline : Boolean (optional)

    if true only inline styles will be returned.

    \n

    Defaults to: false

Returns

  • String/Object

    The current value of the style property for this element\n(or a hash of named style values if multiple property arguments are requested).

    \n
Returns the dimensions of the element available to lay content out in. ...

Returns the dimensions of the element available to lay content out in.

\n\n

getStyleSize utilizes prefers style sizing if present, otherwise it chooses the larger of offsetHeight/clientHeight and\noffsetWidth/clientWidth. To obtain the size excluding scrollbars, use getViewSize.

\n\n

Sizing of the document body is handled at the adapter level which handles special cases for IE and strict modes, etc.

\n\n

Defined in override Ext.dom.Element_style.

\n

Returns

Returns the width in pixels of the passed text, or the width of the text in this Element. ...

Returns the width in pixels of the passed text, or the width of the text in this Element.

\n

Parameters

  • text : String

    The text to measure. Defaults to the innerHTML of the element.

    \n
  • min : Number (optional)

    The minumum value to return.

    \n
  • max : Number (optional)

    The maximum value to return.

    \n

Returns

  • Number

    The text width in pixels.

    \n
Gets the top Y coordinate\n\nDefined in override Ext.dom.Element_position. ...

Gets the top Y coordinate

\n\n

Defined in override Ext.dom.Element_position.

\n
\n

This method has been deprecated

\n

Use getY or getLocalY

\n\n
\n

Parameters

  • local : Boolean

    True to get the local css position instead of page\ncoordinates

    \n

Returns

Returns the value of the \"value\" attribute ...

Returns the value of the \"value\" attribute

\n

Parameters

  • asNumber : Boolean

    true to parse the value as a number

    \n

Returns

Returns the dimensions of the element available to lay content out in. ...

Returns the dimensions of the element available to lay content out in.

\n\n

If the element (or any ancestor element) has CSS style display: none, the dimensions will be zero.

\n\n

Example:

\n\n
var vpSize = Ext.getBody().getViewSize();\n\n// all Windows created afterwards will have a default value of 90% height and 95% width\nExt.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\n

getViewSize utilizes clientHeight/clientWidth which excludes sizing of scrollbars.\nTo obtain the size including scrollbars, use getStyleSize

\n\n

Sizing of the document body is handled at the adapter level which handles special cases for IE and strict modes, etc.

\n\n

Defined in override Ext.dom.AbstractElement_style.

\n

Returns

Returns the offset width of the element\n\nDefined in override Ext.dom.AbstractElement_style. ...

Returns the offset width of the element

\n\n

Defined in override Ext.dom.AbstractElement_style.

\n

Parameters

  • contentWidth : Boolean (optional)

    true to get the width minus borders and padding

    \n

Returns

Gets element X position in page coordinates\n\nDefined in override Ext.dom.Element_position. ...

Gets element X position in page coordinates

\n\n

Defined in override Ext.dom.Element_position.

\n

Returns

Gets element Y position in page coordinates\n\nDefined in override Ext.dom.Element_position. ...

Gets element Y position in page coordinates

\n\n

Defined in override Ext.dom.Element_position.

\n

Returns

Ext.dom.Layer
view source
( )private
...
\n
Slides the element while fading it out of view. ...

Slides 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
\n\n

Defined in override Ext.dom.Element_anim.

\n

Parameters

  • anchor : String (optional)

    One of the valid Ext.fx.Anim anchor positions (defaults to bottom: 'b')

    \n
  • options : Object (optional)

    Object literal with any of the Ext.fx.Anim config options

    \n

Returns

Checks if the specified CSS class exists on this element's DOM node. ...

Checks if the specified CSS class exists on this element's DOM node.

\n\n

Defined in override Ext.dom.AbstractElement_style.

\n

Parameters

  • className : String

    The CSS class to check for

    \n

Returns

  • Boolean

    True if the class exists, else false

    \n
...
\n

Parameters

Determine if the Element has a relevant height and width available based\nupon current logical visibility state\n\nDefin...

Determine if the Element has a relevant height and width available based\nupon current logical visibility state

\n\n

Defined in override Ext.dom.Element_fx.

\n
Hide this element - Uses display mode to determine whether to use \"display\" or \"visibility\". ...

Hide this element - Uses display mode to determine whether to use \"display\" or \"visibility\". See setVisible.

\n\n

Defined in override Ext.dom.Element_fx.

\n

Parameters

  • animate : Boolean/Object (optional)

    true for the default animation or a standard Element animation config object

    \n

Returns

Overrides: Ext.dom.AbstractElement.hide

Ext.dom.Layer
view source
( )private
...
\n
Ext.dom.Layer
view source
( )private
...
\n
Highlights the Element by setting a color (applies to the background-color by default, but can be changed using\nthe \"...

Highlights 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
\n\n

Defined in override Ext.dom.Element_anim.

\n

Parameters

  • color : String (optional)

    The highlight color. Should be a 6 char hex color without the leading #\n(defaults to yellow: 'ffff9c')

    \n
  • options : Object (optional)

    Object literal with any of the Ext.fx.Anim config options

    \n

Returns

( overFn, outFn, [scope], [options] ) : Ext.dom.Elementchainable
Sets up event handlers to call the passed functions when the mouse is moved into and out of the Element. ...

Sets up event handlers to call the passed functions when the mouse is moved into and out of the Element.

\n

Parameters

  • overFn : Function

    The function to call when the mouse enters the Element.

    \n
  • outFn : Function

    The function to call when the mouse leaves the Element.

    \n
  • scope : Object (optional)

    The scope (this reference) in which the functions are executed. Defaults\nto the Element's DOM element.

    \n
  • options : Object (optional)

    Options for the listener. See the\noptions parameter.

    \n

Returns

( config ) : Ext.Basechainableprotected
Initialize configuration for this class. ...

Initialize configuration for this class. a typical example:

\n\n
Ext.define('My.awesome.Class', {\n    // The default config\n    config: {\n        name: 'Awesome',\n        isAwesome: true\n    },\n\n    constructor: function(config) {\n        this.initConfig(config);\n    }\n});\n\nvar awesome = new My.awesome.Class({\n    name: 'Super Awesome'\n});\n\nalert(awesome.getName()); // 'Super Awesome'\n
\n

Parameters

Returns

( group, config, overrides ) : Ext.dd.DD
Initializes a Ext.dd.DD drag drop object for this element. ...

Initializes a Ext.dd.DD drag drop object for this element.

\n\n

Defined in override Ext.dom.Element_dd.

\n

Parameters

  • group : String

    The group the DD object is member of

    \n
  • config : Object

    The DD config object

    \n
  • overrides : Object

    An object containing methods to override/implement on the DD object

    \n

Returns

Initializes a Ext.dd.DDProxy object for this element. ...

Initializes a Ext.dd.DDProxy object for this element.

\n\n

Defined in override Ext.dom.Element_dd.

\n

Parameters

  • group : String

    The group the DDProxy object is member of

    \n
  • config : Object

    The DDProxy config object

    \n
  • overrides : Object

    An object containing methods to override/implement on the DDProxy object

    \n

Returns

Initializes a Ext.dd.DDTarget object for this element. ...

Initializes a Ext.dd.DDTarget object for this element.

\n\n

Defined in override Ext.dom.Element_dd.

\n

Parameters

  • group : String

    The group the DDTarget object is member of

    \n
  • config : Object

    The DDTarget config object

    \n
  • overrides : Object

    An object containing methods to override/implement on the DDTarget object

    \n

Returns

Inserts this element after the passed element in the DOM\n\nDefined in override Ext.dom.AbstractElement_insertion. ...

Inserts this element after the passed element in the DOM

\n\n

Defined in override Ext.dom.AbstractElement_insertion.

\n

Parameters

Returns

Inserts this element before the passed element in the DOM\n\nDefined in override Ext.dom.AbstractElement_insertion. ...

Inserts this element before the passed element in the DOM

\n\n

Defined in override Ext.dom.AbstractElement_insertion.

\n

Parameters

  • el : String/HTMLElement/Ext.dom.AbstractElement

    The element before which this element will be inserted.\nThe id of the node, a DOM Node or an existing Element.

    \n

Returns

Inserts (or creates) an element (or DomHelper config) as the first child of this element\n\nDefined in override Ext.dom...

Inserts (or creates) an element (or DomHelper config) as the first child of this element

\n\n

Defined in override Ext.dom.AbstractElement_insertion.

\n

Parameters

Returns

Inserts an html fragment into this element\n\nDefined in override Ext.dom.AbstractElement_insertion. ...

Inserts an html fragment into this element

\n\n

Defined in override Ext.dom.AbstractElement_insertion.

\n

Parameters

Returns

Inserts (or creates) the passed element (or DomHelper config) as a sibling of this element\n\nDefined in override Ext.d...

Inserts (or creates) the passed element (or DomHelper config) as a sibling of this element

\n\n

Defined in override Ext.dom.AbstractElement_insertion.

\n

Parameters

Returns

Returns true if this element matches the passed simple selector (e.g. ...

Returns true if this element matches the passed simple selector (e.g. div.some-class or span:first-child)

\n

Parameters

  • selector : String

    The simple selector to test

    \n

Returns

  • Boolean

    True if this element matches the selector, else false

    \n
Defined in override Ext.dom.AbstractElement_traversal. ...

Defined in override Ext.dom.AbstractElement_traversal.

\n

Parameters

Tests various css rules/browsers to determine if this element uses a border box ...

Tests various css rules/browsers to determine if this element uses a border box

\n

Returns

Returns true if display is not \"none\" ...

Returns true if display is not \"none\"

\n

Returns

Checks whether this element can be focused. ...

Checks whether this element can be focused.

\n

Parameters

Returns

  • Boolean

    True if the element is focusable

    \n\n
Returns true if this element is masked. ...

Returns true if this element is masked. Also re-centers any displayed message within the mask.

\n

Returns

Returns true if this element is scrollable. ...

Returns true if this element is scrollable.

\n\n

Defined in override Ext.dom.Element_scroll.

\n

Returns

Checks if the current value of a style is equal to a given value. ...

Checks if the current value of a style is equal to a given value.

\n\n

Defined in override Ext.dom.AbstractElement_style.

\n

Parameters

  • style : String

    property whose value is returned.

    \n
  • value : String

    to check against.

    \n

Returns

  • Boolean

    true for when the current value equals the given value.

    \n
Returns true if the value of the given property is visually transparent. ...

Returns true if the value of the given property is visually transparent. This\nmay be due to a 'transparent' style value or an rgba value with 0 in the alpha\ncomponent.

\n\n

Defined in override Ext.dom.AbstractElement_style.

\n

Parameters

  • prop : String

    The style property whose value is to be tested.

    \n

Returns

  • Boolean

    True if the style property is visually transparent.

    \n
Checks whether the element is currently visible using both visibility and display properties. ...

Checks whether the element is currently visible using both visibility and display properties.

\n

Parameters

  • deep : Boolean (optional)

    True to walk the dom and see if parent elements are hidden.\nIf false, the function only checks the visibility of the element itself and it may return\ntrue even though a parent is not visible.

    \n

    Defaults to: false

Returns

  • Boolean

    true if the element is currently visible, else false

    \n
( [selector], [returnDom] ) : Ext.dom.Element/HTMLElement
Gets the last child, skipping text nodes\n\nDefined in override Ext.dom.AbstractElement_traversal. ...

Gets the last child, skipping text nodes

\n\n

Defined in override Ext.dom.AbstractElement_traversal.

\n

Parameters

  • selector : String (optional)

    Find the previous sibling that matches the passed simple selector

    \n
  • returnDom : Boolean (optional)

    True to return a raw dom node instead of an Ext.dom.Element

    \n

    Defaults to: false

Returns

Direct access to the Ext.ElementLoader Ext.ElementLoader.load method. ...

Direct access to the Ext.ElementLoader Ext.ElementLoader.load method. The method takes the same object\nparameter as Ext.ElementLoader.load

\n

Parameters

Returns

Puts a mask over this element to disable user interaction. ...

Puts a mask over this element to disable user interaction. Requires core.css.\nThis method can only be applied to elements which accept child nodes.

\n

Parameters

  • msg : String (optional)

    A message to display in the mask

    \n
  • msgCls : String (optional)

    A css class to apply to the msg element

    \n

Returns

Overrides: Ext.dom.AbstractElement.mask

( dir, start, selector, returnDom )private
Defined in override Ext.dom.AbstractElement_traversal. ...

Defined in override Ext.dom.AbstractElement_traversal.

\n

Parameters

Monitors this Element for the mouse leaving. ...

Monitors 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.

\n

Parameters

  • delay : Number

    The delay in milliseconds to wait for possible mouse re-entry before calling the handler function.

    \n
  • handler : Function

    The function to call if the mouse remains outside of this Element for the specified time.

    \n
  • scope : Object (optional)

    The scope (this reference) in which the handler function executes. Defaults to this Element.

    \n

Returns

  • Object

    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
( x, y, [animate] ) : Ext.dom.Elementchainabledeprecated
Sets the position of the element in page coordinates. ...

Sets the position of the element in page coordinates.

\n\n

Defined in override Ext.dom.Element_position.

\n
\n

This method has been deprecated

\n

Use setXY instead.

\n\n
\n

Parameters

  • x : Number

    X value for new position (coordinates are page-based)

    \n
  • y : Number

    Y value for new position (coordinates are page-based)

    \n
  • animate : Boolean/Object (optional)

    True for the default animation, or a standard\nElement animation config object

    \n

Returns

Returns true if this element needs an explicit tabIndex to make it focusable. ...

Returns true if this element needs an explicit tabIndex to make it focusable. Input fields, text areas, buttons\nanchors elements with an href etc do not need a tabIndex, but structural elements do.

\n
( [selector], [returnDom] ) : Ext.dom.Element/HTMLElement
Gets the next sibling, skipping text nodes\n\nDefined in override Ext.dom.AbstractElement_traversal. ...

Gets the next sibling, skipping text nodes

\n\n

Defined in override Ext.dom.AbstractElement_traversal.

\n

Parameters

  • selector : String (optional)

    Find the next sibling that matches the passed simple selector

    \n
  • returnDom : Boolean (optional)

    True to return a raw dom node instead of an Ext.dom.Element

    \n

    Defaults to: false

Returns

( eventName, fn, [scope], [options] ) : Ext.dom.Elementchainable
Appends an event handler to this element. ...

Appends an event handler to this element.

\n

Parameters

  • eventName : String

    The name of event to handle.

    \n\n
  • fn : Function

    The handler function the event invokes. This function is passed the following parameters:

    \n\n\n\n\n
      \n
    • evt : EventObject

      \n\n

      The EventObject describing the event.

    • \n
    • el : HtmlElement

      \n\n

      The DOM element which was the target of the event. Note that this may be filtered by using the delegate option.

    • \n
    • o : Object

      \n\n

      The options object from the call that setup the listener.

    • \n
    \n\n\n\n
  • scope : Object (optional)

    The scope (this reference) in which the handler function is executed. If\nomitted, defaults to this Element.

    \n\n
  • options : Object (optional)

    An object containing handler configuration properties. This may contain any of\nthe following properties:

    \n\n\n\n\n
      \n
    • scope Object :

      \n\n

      The scope (this reference) in which the handler function is executed. If omitted, defaults to this\nElement.

    • \n
    • delegate String:

      \n\n

      A simple selector to filter the target or look for a descendant of the target. See below for additional details.

    • \n
    • stopEvent Boolean:

      \n\n

      True to stop the event. That is stop propagation, and prevent the default action.

    • \n
    • preventDefault Boolean:

      \n\n

      True to prevent the default action

    • \n
    • stopPropagation Boolean:

      \n\n

      True to prevent event propagation

    • \n
    • normalized Boolean:

      \n\n

      False to pass a browser event to the handler function instead of an Ext.EventObject

    • \n
    • target Ext.dom.Element:

      \n\n

      Only call the handler if the event was fired on the target Element, not if the event was bubbled up from a\nchild node.

    • \n
    • delay Number:

      \n\n

      The number of milliseconds to delay the invocation of the handler after the event fires.

    • \n
    • single Boolean:

      \n\n

      True to add a handler to handle just the next firing of the event, and then remove itself.

    • \n
    • buffer Number:

      \n\n

      Causes 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.

    • \n
    \n\n\n\n\n

    Combining Options

    \n\n\n\n\n

    Using the options argument, it is possible to combine different types of listeners:

    \n\n\n\n\n

    A 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\n

    Code:

    \n\n\n\n\n
    el.on('click', this.onClick, this, {\n    single: true,\n    delay: 100,\n    stopEvent : true,\n    forumId: 4\n});\n
    \n\n\n\n\n

    Attaching multiple handlers in 1 call

    \n\n\n\n\n

    The 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\n

    Code:

    \n\n\n\n\n
    el.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\n

    Or a shorthand syntax:

    \n\n\n\n\n

    Code:

    \n\n\n\n\n
    el.on({\n    'click' : this.onClick,\n    'mouseover' : this.onMouseOver,\n    'mouseout' : this.onMouseOut,\n    scope: this\n});\n
    \n\n\n\n\n

    delegate

    \n\n\n\n\n

    This 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\n

Returns

( names, callback, scope )private
...
\n

Parameters

Ext.dom.Layer
view source
( opacity )private
...
\n

Parameters

( [selector], [returnDom] ) : Ext.dom.Element/HTMLElement
Gets the parent node for this element, optionally chaining up trying to match a selector\n\nDefined in override Ext.dom...

Gets the parent node for this element, optionally chaining up trying to match a selector

\n\n

Defined in override Ext.dom.AbstractElement_traversal.

\n

Parameters

  • selector : String (optional)

    Find a parent node that matches the passed simple selector

    \n
  • returnDom : Boolean (optional)

    True to return a raw dom node instead of an Ext.dom.Element

    \n

    Defaults to: false

Returns

Creates a pause before any subsequent queued effects begin. ...

Creates a pause before any subsequent queued effects begin. If there are no effects queued after the pause it will\nhave no effect. Usage:

\n\n
el.pause(1);\n
\n\n

Defined in override Ext.dom.Element_anim.

\n
\n

This method has been deprecated since 4.0

\n

Use the delay config to animate instead.

\n\n
\n

Parameters

  • seconds : Number

    The length of time to pause (in seconds)

    \n

Returns

( [pos], [zIndex], [x], [y] )
Initializes positioning on this element. ...

Initializes positioning on this element. If a desired position is not passed,\nit will make the the element positioned relative IF it is not already positioned.

\n\n

Defined in override Ext.dom.Element_position.

\n

Parameters

  • pos : String (optional)

    Positioning to use \"relative\", \"absolute\" or \"fixed\"

    \n
  • zIndex : Number (optional)

    The zIndex to apply

    \n
  • x : Number (optional)

    Set the page X position

    \n
  • y : Number (optional)

    Set the page Y position

    \n
( [selector], [returnDom] ) : Ext.dom.Element/HTMLElement
Gets the previous sibling, skipping text nodes\n\nDefined in override Ext.dom.AbstractElement_traversal. ...

Gets the previous sibling, skipping text nodes

\n\n

Defined in override Ext.dom.AbstractElement_traversal.

\n

Parameters

  • selector : String (optional)

    Find the previous sibling that matches the passed simple selector

    \n
  • returnDom : Boolean (optional)

    True to return a raw dom node instead of an Ext.dom.Element

    \n

    Defaults to: false

Returns

Fades the element out while slowly expanding it in all directions. ...

Fades 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
\n\n

Defined in override Ext.dom.Element_anim.

\n

Parameters

  • options : Object (optional)

    Object literal with any of the Ext.fx.Anim config options

    \n

Returns

Recursively removes all previous added listeners from this element and its children ...

Recursively removes all previous added listeners from this element and its children

\n

Returns

( selector ) : HTMLElement[]
Selects child nodes based on the passed CSS selector (the selector should not contain an id). ...

Selects child nodes based on the passed CSS selector (the selector should not contain an id).

\n\n

Defined in override Ext.dom.AbstractElement_traversal.

\n

Parameters

  • selector : String

    The CSS selector

    \n

Returns

  • HTMLElement[]

    An array of the matched nodes

    \n
Adds one or more CSS classes to this element and removes the same class(es) from all siblings. ...

Adds one or more CSS classes to this element and removes the same class(es) from all siblings.

\n\n

Defined in override Ext.dom.AbstractElement_style.

\n

Parameters

  • className : String/String[]

    The CSS class to add, or an array of classes

    \n

Returns

( eventName, observable )
Create an event handler on this element such that when the event fires and is handled by this element,\nit will be rel...

Create 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).

\n

Parameters

  • eventName : String

    The type of event to relay

    \n
  • observable : Object

    Any object that extends Ext.util.Observable that will provide the context\nfor firing the relayed event

    \n
Ext.dom.Layer
view source
( )
Removes this element's dom reference. ...

Removes this element's dom reference. Note that event and cache removal is handled at Ext.removeNode

\n

Overrides: Ext.dom.AbstractElement.remove

Removes all previous added listeners from this element ...

Removes all previous added listeners from this element

\n

Returns

Removes one or more CSS classes from the element. ...

Removes one or more CSS classes from the element.

\n\n

Defined in override Ext.dom.AbstractElement_style.

\n

Parameters

  • className : String/String[]

    The CSS classes to remove separated by space, or an array of classes

    \n

Returns

Shorthand for un. ...

Shorthand for un.

\n\n

Removes an event handler from this element.

\n\n

Note: if a scope was explicitly specified when adding the listener,\nthe same scope must be specified here.

\n\n

Example:

\n\n
el.un('click', this.handlerFn);\n// or\nel.removeListener('click', this.handlerFn);\n
\n

Parameters

  • eventName : String

    The name of the event from which to remove the handler.

    \n\n
  • fn : Function

    The handler function to remove. This must be a reference to the function passed into the\non call.

    \n\n
  • scope : Object

    If a scope (this reference) was specified when the listener was added, then this must\nrefer to the same object.

    \n\n

Returns

Forces the browser to repaint this element\n\nDefined in override Ext.dom.AbstractElement_style. ...

Forces the browser to repaint this element

\n\n

Defined in override Ext.dom.AbstractElement_style.

\n

Returns

Replaces the passed element with this element\n\nDefined in override Ext.dom.AbstractElement_insertion. ...

Replaces the passed element with this element

\n\n

Defined in override Ext.dom.AbstractElement_insertion.

\n

Parameters

Returns

Replaces a CSS class on the element with another. ...

Replaces a CSS class on the element with another. If the old name does not exist, the new name will simply be added.

\n\n

Defined in override Ext.dom.AbstractElement_style.

\n

Parameters

  • oldClassName : String

    The CSS class to replace

    \n
  • newClassName : String

    The replacement CSS class

    \n

Returns

Replaces this element with the passed element\n\nDefined in override Ext.dom.AbstractElement_insertion. ...

Replaces this element with the passed element

\n\n

Defined in override Ext.dom.AbstractElement_insertion.

\n

Parameters

Returns

Defined in override Ext.rtl.dom.Element_position. ...

Defined in override Ext.rtl.dom.Element_position.

\n
Defined in override Ext.rtl.dom.Element_position. ...

Defined in override Ext.rtl.dom.Element_position.

\n
Defined in override Ext.rtl.dom.Element_position. ...

Defined in override Ext.rtl.dom.Element_position.

\n

Parameters

Defined in override Ext.rtl.dom.Element_position. ...

Defined in override Ext.rtl.dom.Element_position.

\n

Parameters

Defined in override Ext.rtl.dom.Element_position. ...

Defined in override Ext.rtl.dom.Element_position.

\n

Parameters

Defined in override Ext.rtl.dom.Element_position. ...

Defined in override Ext.rtl.dom.Element_position.

\n

Parameters

Defined in override Ext.rtl.dom.Element_position. ...

Defined in override Ext.rtl.dom.Element_position.

\n

Parameters

Defined in override Ext.rtl.dom.Element_position. ...

Defined in override Ext.rtl.dom.Element_position.

\n

Parameters

Defined in override Ext.rtl.dom.Element_position. ...

Defined in override Ext.rtl.dom.Element_position.

\n

Parameters

( width, height, [options] ) : Ext.Elementchainabledeprecated
Animates the transition of an element's dimensions from a starting height/width to an ending height/width. ...

Animates 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: 350\n    }\n);\n
\n\n

Defined in override Ext.dom.Element_anim.

\n
\n

This method has been deprecated since 4.0

\n

Just use animate instead.

\n\n
\n

Parameters

  • width : Number

    The new width (pass undefined to keep the original width)

    \n
  • height : Number

    The new height (pass undefined to keep the original height)

    \n
  • options : Object (optional)

    Object literal with any of the Ext.fx.Anim config options

    \n

Returns

( direction, distance, [animate] ) : Boolean
Scrolls this element the specified direction. ...

Scrolls this element the specified direction. Does bounds checking to make sure the scroll is\nwithin this element's scrollable range.

\n\n

Defined in override Ext.dom.Element_scroll.

\n

Parameters

  • direction : String

    Possible values are:

    \n\n
      \n
    • \"l\" (or \"left\")
    • \n
    • \"r\" (or \"right\")
    • \n
    • \"t\" (or \"top\", or \"up\")
    • \n
    • \"b\" (or \"bottom\", or \"down\")
    • \n
    \n\n
  • distance : Number

    How far to scroll the element in pixels

    \n
  • animate : Boolean/Object (optional)

    true for the default animation or a standard Element\nanimation config object

    \n

Returns

  • Boolean

    Returns true if a scroll was triggered or false if the element\nwas scrolled as far as it could go.

    \n
( deltaX, deltaY, animate ) : Ext.Element
Scrolls this element by the passed delta values, optionally animating. ...

Scrolls this element by the passed delta values, optionally animating.

\n\n

All of the following are equivalent:

\n\n
 el.scrollBy(10, 10, true);\n el.scrollBy([10, 10], true);\n el.scrollBy({ x: 10, y: 10 }, true);\n
\n\n

Defined in override Ext.dom.Element_scroll.

\n

Parameters

  • deltaX : Number/Number[]/Object

    Either the x delta, an Array specifying x and y deltas or\nan object with \"x\" and \"y\" properties.

    \n
  • deltaY : Number/Boolean/Object

    Either the y delta, or an animate flag or config object.

    \n
  • animate : Boolean/Object

    Animate flag/config object if the delta values were passed separately.

    \n

Returns

Defined in override Ext.dom.Element_scroll. ...

Defined in override Ext.dom.Element_scroll.

\n

Parameters

( [container], [hscroll], [animate], [highlight] ) : Ext.dom.Elementchainable
Scrolls this element into view within the passed container. ...

Scrolls this element into view within the passed container.

\n\n

Defined in override Ext.dom.Element_scroll.

\n

Parameters

  • container : String/HTMLElement/Ext.Element (optional)

    The container element\nto scroll. Should be a string (id), dom node, or Ext.Element.

    \n

    Defaults to: document.body

  • hscroll : Boolean (optional)

    False to disable horizontal scroll.

    \n

    Defaults to: true

  • animate : Boolean/Object (optional)

    true for the default animation or a standard Element

    \n
  • highlight : Boolean (optional)

    true to highlight the element when it is in view.\nanimation config object

    \n

    Defaults to: false

Returns

Scrolls this element the specified scroll point. ...

Scrolls this element the specified scroll point. It does NOT do bounds checking so\nif you scroll to a weird value it will try to do it. For auto bounds checking, use scroll.

\n\n

Defined in override Ext.dom.Element_scroll.

\n

Parameters

  • side : String

    Either \"left\" for scrollLeft values or \"top\" for scrollTop values.

    \n
  • value : Number

    The new scroll value

    \n
  • animate : Boolean/Object (optional)

    true for the default animation or a standard Element\nanimation config object

    \n

Returns

Creates a Ext.CompositeElement for child nodes based on the passed CSS selector (the selector should not contain an id). ...

Creates a Ext.CompositeElement for child nodes based on the passed CSS selector (the selector should not contain an id).

\n\n

Defined in override Ext.dom.AbstractElement_traversal.

\n

Parameters

  • selector : String

    The CSS selector

    \n
  • unique : Boolean (optional)

    True to create a unique Ext.Element for each element. Defaults to a shared flyweight object.

    \n

Returns

Enable text selection for this element (normalized across browsers)\n\nDefined in override Ext.dom.Element_style. ...

Enable text selection for this element (normalized across browsers)

\n\n

Defined in override Ext.dom.Element_style.

\n

Returns

Serializes a DOM form into a url encoded string\n\nDefined in override Ext.dom.AbstractElement_static. ...

Serializes a DOM form into a url encoded string

\n\n

Defined in override Ext.dom.AbstractElement_static.

\n

Parameters

Returns

Sets the passed attributes as attributes of this element (a style attribute can be a string, object or function) ...

Sets the passed attributes as attributes of this element (a style attribute can be a string, object or function)

\n

Parameters

  • o : Object

    The object with the attributes

    \n
  • useSet : Boolean (optional)

    false to override the default setAttribute to use expandos.

    \n

    Defaults to: true

Returns

Sets the element's CSS bottom style. ...

Sets the element's CSS bottom style.

\n\n

Defined in override Ext.dom.Element_position.

\n
\n

This method has been deprecated

\n \n\n
\n

Parameters

  • bottom : Number/String

    Number of pixels or CSS string value to set as\nthe bottom CSS property value

    \n

Returns

Ext.dom.Layer
view source
( x, y, width, height, [animate] ) : Ext.dom.Elementdeprecated
overridden Element method\n\nSets the element's position and size in one shot. ...

overridden Element method

\n\n

Sets the element's position and size in one shot. If animation is true then\nwidth, height, x and y will be animated concurrently.

\n\n

Defined in override Ext.dom.Element_position.

\n
\n

This method has been deprecated

\n

Use Ext.util.Positionable.setBox instead.

\n\n
\n

Parameters

  • x : Number

    X value for new position (coordinates are page-based)

    \n
  • y : Number

    Y value for new position (coordinates are page-based)

    \n
  • width : Number/String

    The new width. This may be one of:

    \n\n
      \n
    • A Number specifying the new width in this Element's\ndefaultUnits (by default, pixels)
    • \n
    • A String used to set the CSS width style. Animation may not be used.
    • \n
    \n\n
  • height : Number/String

    The new height. This may be one of:

    \n\n
      \n
    • A Number specifying the new height in this Element's\ndefaultUnits (by default, pixels)
    • \n
    • A String used to set the CSS height style. Animation may not be used.
    • \n
    \n\n
  • animate : Boolean/Object (optional)

    true for the default animation or\na standard Element animation config object

    \n

Returns

Overrides: Ext.dom.Element.setBounds

( config, applyIfNotSet ) : Ext.Basechainableprivate
...
\n

Parameters

Returns

Sets the CSS display property. ...

Sets the CSS display property. Uses originalDisplay if the specified value is a boolean true.

\n\n

Defined in override Ext.dom.Element_fx.

\n

Parameters

  • value : Boolean/String

    Boolean value to display the element using its default display, or a string to set the display directly.

    \n

Returns

Set the innerHTML of this element ...

Set the innerHTML of this element

\n

Parameters

Returns

Ext.dom.Layer
view source
( height ) : Ext.dom.Element
overridden Element method\n\nSet the height of this Element. ...

overridden Element method

\n\n

Set 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 : 500, // animation will have a duration of .5 seconds\n    // will change the content to \"finished\"\n    callback: function(){ this.update(\"finished\"); }\n});\n
\n\n

Defined in override Ext.dom.AbstractElement_style.

\n

Parameters

  • height : Number/String

    The new height. This may be one of:

    \n\n
      \n
    • A Number specifying the new height in this Element's defaultUnits (by default, pixels.)
    • \n
    • A String used to set the CSS height style. Animation may not be used.
    • \n
    \n\n

Returns

Overrides: Ext.dom.AbstractElement.setHeight

Removes \"vertical\" state from this element (reverses everything done\nby setVertical). ...

Removes \"vertical\" state from this element (reverses everything done\nby setVertical).

\n\n

Defined in override Ext.dom.Element_style.

\n
Ext.dom.Layer
view source
( left ) : Ext.dom.Elementchainabledeprecated
overridden Element method\n\nSets the element's left position directly using CSS style\n(instead of setX). ...

overridden Element method

\n\n

Sets the element's left position directly using CSS style\n(instead of setX).

\n\n

Defined in override Ext.dom.Element_position.

\n
\n

This method has been deprecated

\n \n\n
\n

Parameters

  • left : Number/String

    Number of pixels or CSS string value to\nset as the left CSS property value

    \n

Returns

Overrides: Ext.dom.Element.setLeft

Ext.dom.Layer
view source
( left, top ) : Ext.dom.Elementdeprecated
Sets the element's left and top positions directly using CSS style\n\nDefined in override Ext.dom.Element_position. ...

Sets the element's left and top positions directly using CSS style

\n\n

Defined in override Ext.dom.Element_position.

\n
\n

This method has been deprecated

\n \n\n
\n

Parameters

  • left : Number/String

    Number of pixels or CSS string value to\nset as the left CSS property value

    \n
  • top : Number/String

    Number of pixels or CSS string value to\nset as the top CSS property value

    \n

Returns

Overrides: Ext.dom.Element.setLeftTop

Ext.dom.Layer
view source
( )private
...
\n
Ext.dom.Layer
view source
( )private
...
\n
Ext.dom.Layer
view source
( )private
...
\n
( x, y, [animate] ) : Ext.dom.Elementchainabledeprecated
Sets the position of the element in page coordinates. ...

Sets the position of the element in page coordinates.

\n\n

Defined in override Ext.dom.Element_position.

\n
\n

This method has been deprecated

\n

Use setXY instead.

\n\n
\n

Parameters

  • x : Number

    X value for new position

    \n
  • y : Number

    Y value for new position

    \n
  • animate : Boolean/Object (optional)

    True for the default animation, or a standard\nElement animation config object

    \n

Returns

( opacity, [animate] ) : Ext.dom.Elementchainable
Set the opacity of the element\n\nDefined in override Ext.dom.Element_style. ...

Set the opacity of the element

\n\n

Defined in override Ext.dom.Element_style.

\n

Parameters

  • opacity : Number

    The new opacity. 0 = transparent, .5 = 50% visibile, 1 = fully visible, etc

    \n
  • animate : Boolean/Object (optional)

    a standard Element animation config object or true for\nthe default animation ({duration: 350, easing: 'easeIn'})

    \n

Returns

Set positioning with an object returned by getPositioning. ...

Set positioning with an object returned by getPositioning.

\n\n

Defined in override Ext.dom.Element_position.

\n

Parameters

Returns

Sets the element's CSS right style. ...

Sets the element's CSS right style.

\n\n

Defined in override Ext.dom.Element_position.

\n
\n

This method has been deprecated

\n \n\n
\n

Parameters

  • right : Number/String

    Number of pixels or CSS string value to\nset as the right CSS property value

    \n

Returns

Sets the left scroll position\n\nDefined in override Ext.dom.Element_scroll. ...

Sets the left scroll position

\n\n

Defined in override Ext.dom.Element_scroll.

\n

Parameters

  • left : Number

    The left scroll position

    \n

Returns

Sets the top scroll position\n\nDefined in override Ext.dom.Element_scroll. ...

Sets the top scroll position

\n\n

Defined in override Ext.dom.Element_scroll.

\n

Parameters

  • top : Number

    The top scroll position

    \n

Returns

Ext.dom.Layer
view source
( width, height ) : Ext.dom.Element
overridden Element method\n\nSet the size of this Element. ...

overridden Element method

\n\n

Set the size of this Element. If animation is true, both width and height will be animated concurrently.

\n\n

Defined in override Ext.dom.AbstractElement_style.

\n

Parameters

  • width : Number/String

    The new width. This may be one of:

    \n\n
      \n
    • A Number specifying the new width in this Element's defaultUnits (by default, pixels).
    • \n
    • A String used to set the CSS width style. Animation may not be used.
    • \n
    • A size object in the format {width: widthValue, height: heightValue}.
    • \n
    \n\n
  • height : Number/String

    The new height. This may be one of:

    \n\n
      \n
    • A Number specifying the new height in this Element's defaultUnits (by default, pixels).
    • \n
    • A String used to set the CSS height style. Animation may not be used.
    • \n
    \n\n

Returns

Overrides: Ext.dom.AbstractElement.setSize

Wrapper for setting style properties, also takes single object parameter of multiple styles. ...

Wrapper for setting style properties, also takes single object parameter of multiple styles.

\n\n

Defined in override Ext.dom.AbstractElement_style.

\n

Parameters

  • property : String/Object

    The style property to be set, or an object of multiple styles.

    \n
  • value : String (optional)

    The value to apply to the given property, or null if an object was passed.

    \n

Returns

Ext.dom.Layer
view source
( top ) : Ext.dom.Elementchainabledeprecated
Sets the element's top position directly using CSS style\n(instead of setY). ...

Sets the element's top position directly using CSS style\n(instead of setY).

\n\n

Defined in override Ext.dom.Element_position.

\n
\n

This method has been deprecated

\n \n\n
\n

Parameters

  • top : Number/String

    Number of pixels or CSS string value to\nset as the top CSS property value

    \n

Returns

Overrides: Ext.dom.Element.setTop

Changes this Element's state to \"vertical\" (rotated 90 or 270 degrees). ...

Changes this Element's state to \"vertical\" (rotated 90 or 270 degrees).\nThis involves inverting the getters and setters for height and width,\nand applying hooks for rotating getters and setters for border/margin/padding.\n(getWidth becomes getHeight and vice versa), setStyle and getStyle will\nalso return the inverse when height or width are being operated on.

\n\n

Defined in override Ext.dom.Element_style.

\n

Parameters

  • angle : Number

    the angle of rotation - either 90 or 270

    \n
  • cls : String

    an optional css class that contains the required\nstyles for switching the element to vertical orientation. Omit this if\nthe element already contains vertical styling. If cls is provided,\nit will be removed from the element when setHorizontal is called.

    \n
Use this to change the visibility mode between VISIBILITY, DISPLAY, OFFSETS or ASCLASS. ...

Use this to change the visibility mode between VISIBILITY, DISPLAY, OFFSETS or ASCLASS.

\n

Parameters

Returns

Ext.dom.Layer
view source
( visible, [animate] ) : Ext.dom.Element
overridden Element method\n\nSets the visibility of the element (see details). ...

overridden Element method

\n\n

Sets 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.

\n\n

Defined in override Ext.dom.Element_fx.

\n

Parameters

  • visible : Boolean

    Whether the element is visible

    \n
  • animate : Boolean/Object (optional)

    True for the default animation, or a standard Element animation config object

    \n

Returns

Overrides: Ext.dom.Element.setVisible

Ext.dom.Layer
view source
( width ) : Ext.dom.Element
overridden Element method\n\nSet the width of this Element. ...

overridden Element method

\n\n

Set the width of this Element.

\n\n

Defined in override Ext.dom.AbstractElement_style.

\n

Parameters

  • width : Number/String

    The new width. This may be one of:

    \n\n
      \n
    • A Number specifying the new width in this Element's defaultUnits (by default, pixels).
    • \n
    • A String used to set the CSS width style. Animation may not be used.
    • \n
    \n\n

Returns

Overrides: Ext.dom.AbstractElement.setWidth

Ext.dom.Layer
view source
( x, animate, duration, callback, easing ) : Ext.dom.Layerchainableprivate
overridden Element method ...

overridden Element method

\n

Parameters

Returns

Overrides: Ext.dom.Element.setX

Ext.dom.Layer
view source
( xy, animate, duration, callback, easing )private
...
\n

Parameters

Overrides: Ext.dom.Element.setXY

Ext.dom.Layer
view source
( y, animate, duration, callback, easing ) : Ext.dom.Layerchainableprivate
overridden Element method ...

overridden Element method

\n

Parameters

Returns

Overrides: Ext.dom.Element.setY

Ext.dom.Layer
view source
( zindex ) : Ext.Layer
Sets the z-index of this layer and adjusts any shadow and shim z-indexes. ...

Sets the z-index of this layer and adjusts any shadow and shim z-indexes. The layer\nz-index is automatically incremented depending upon the presence of a shim or a\nshadow in so that it always shows above those two associated elements.

\n\n

Any shim, will be assigned the passed z-index. A shadow will be assigned the next\nhighet z-index, and the Layer's element will receive the highest z-index.

\n

Parameters

  • zindex : Number

    The new z-index to set

    \n

Returns

( options ) : Ext.Elementchainabledeprecated
Animates the transition of any combination of an element's dimensions, xy position and/or opacity. ...

Animates 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: 350\n});\n
\n\n

Defined in override Ext.dom.Element_anim.

\n
\n

This method has been deprecated since 4.0

\n

Just use animate instead.

\n\n
\n

Parameters

Returns

Show this element - Uses display mode to determine whether to use \"display\" or \"visibility\". ...

Show this element - Uses display mode to determine whether to use \"display\" or \"visibility\". See setVisible.

\n\n

Defined in override Ext.dom.Element_fx.

\n

Parameters

  • animate : Boolean/Object (optional)

    true for the default animation or a standard Element animation config object

    \n

Returns

Overrides: Ext.dom.AbstractElement.show

Slides the element into view. ...

Slides 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\nExt.fx.Anim 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
\n\n

Defined in override Ext.dom.Element_anim.

\n

Parameters

  • anchor : String (optional)

    One of the valid Ext.fx.Anim anchor positions (defaults to top: 't')

    \n
  • options : Object (optional)

    Object literal with any of the Ext.fx.Anim config options

    \n
    • preserveScroll : Boolean

      Set to true if preservation of any descendant elements'\nscrollTop values is required. By default the DOM wrapping operation performed by slideIn and\nslideOut causes the browser to lose all scroll positions.

      \n

Returns

Slides the element out of view. ...

Slides 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\nExt.fx.Anim 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
\n\n

Defined in override Ext.dom.Element_anim.

\n

Parameters

  • anchor : String (optional)

    One of the valid Ext.fx.Anim anchor positions (defaults to top: 't')

    \n
  • options : Object (optional)

    Object literal with any of the Ext.fx.Anim config options

    \n

Returns

Get the reference to the class from which this object was instantiated. ...

Get the reference to the class from which this object was instantiated. Note that unlike self,\nthis.statics() is scope-independent and it always returns the class from which it was called, regardless of what\nthis points to during run-time

\n\n
Ext.define('My.Cat', {\n    statics: {\n        totalCreated: 0,\n        speciesName: 'Cat' // My.Cat.speciesName = 'Cat'\n    },\n\n    constructor: function() {\n        var statics = this.statics();\n\n        alert(statics.speciesName);     // always equals to 'Cat' no matter what 'this' refers to\n                                        // equivalent to: My.Cat.speciesName\n\n        alert(this.self.speciesName);   // dependent on 'this'\n\n        statics.totalCreated++;\n    },\n\n    clone: function() {\n        var cloned = new this.self;                      // dependent on 'this'\n\n        cloned.groupName = this.statics().speciesName;   // equivalent to: My.Cat.speciesName\n\n        return cloned;\n    }\n});\n\n\nExt.define('My.SnowLeopard', {\n    extend: 'My.Cat',\n\n    statics: {\n        speciesName: 'Snow Leopard'     // My.SnowLeopard.speciesName = 'Snow Leopard'\n    },\n\n    constructor: function() {\n        this.callParent();\n    }\n});\n\nvar cat = new My.Cat();                 // alerts 'Cat', then alerts 'Cat'\n\nvar snowLeopard = new My.SnowLeopard(); // alerts 'Cat', then alerts 'Snow Leopard'\n\nvar clone = snowLeopard.clone();\nalert(Ext.getClassName(clone));         // alerts 'My.SnowLeopard'\nalert(clone.groupName);                 // alerts 'Cat'\n\nalert(My.Cat.totalCreated);             // alerts 3\n
\n

Returns

( eventName, [preventDefault] ) : Ext.dom.Elementchainable
Stops the specified event(s) from bubbling and optionally prevents the default action ...

Stops the specified event(s) from bubbling and optionally prevents the default action

\n

Parameters

  • eventName : String/String[]

    an event / array of events to stop from bubbling

    \n
  • preventDefault : Boolean (optional)

    true to prevent the default action too

    \n

Returns

Blinks the element as if it was clicked and then collapses on its center (similar to switching off a television). ...

Blinks 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
\n\n

Defined in override Ext.dom.Element_anim.

\n

Parameters

  • options : Object (optional)

    Object literal with any of the Ext.fx.Anim config options

    \n

Returns

Ext.dom.Layer
view source
( doShow )private
Synchronize this Layer's associated elements, the shadow, and possibly the shim. ...

Synchronize this Layer's associated elements, the shadow, and possibly the shim.

\n\n

This code can execute repeatedly in milliseconds,\neg: dragging a Component configured liveDrag: true, or which has no ghost method\nso code size was sacrificed for efficiency (e.g. no getBox/setBox, no XY calls)

\n

Parameters

  • doShow : Boolean

    Pass true to ensure that the shadow is shown.

    \n
.\nCurrently used for updating grid cells without modifying DOM structure\n\nSynchronizes content of this Element with t...

.\nCurrently used for updating grid cells without modifying DOM structure

\n\n

Synchronizes content of this Element with the content of the passed element.

\n\n

Style and CSS class are copied from source into this Element, and contents are synched\nrecursively. If a child node is a text node, the textual data is copied.

\n

Parameters

Toggles the element's visibility or display, depending on visibility mode. ...

Toggles the element's visibility or display, depending on visibility mode.

\n\n

Defined in override Ext.dom.Element_fx.

\n

Parameters

  • animate : Boolean/Object (optional)

    True for the default animation, or a standard Element animation config object

    \n

Returns

Toggles the specified CSS class on this element (removes it if it already exists, otherwise adds it). ...

Toggles the specified CSS class on this element (removes it if it already exists, otherwise adds it).

\n\n

Defined in override Ext.dom.AbstractElement_style.

\n

Parameters

  • className : String

    The CSS class to toggle

    \n

Returns

Defined in override Ext.rtl.dom.Element_position. ...

Defined in override Ext.rtl.dom.Element_position.

\n

Parameters

Defined in override Ext.rtl.dom.Element_position. ...

Defined in override Ext.rtl.dom.Element_position.

\n

Parameters

( eventName, fn, scope ) : Ext.dom.Elementchainable
Removes an event handler from this element. ...

Removes an event handler from this element.

\n\n

Note: if a scope was explicitly specified when adding the listener,\nthe same scope must be specified here.

\n\n

Example:

\n\n
el.un('click', this.handlerFn);\n// or\nel.removeListener('click', this.handlerFn);\n
\n

Parameters

  • eventName : String

    The name of the event from which to remove the handler.

    \n\n
  • fn : Function

    The handler function to remove. This must be a reference to the function passed into the\non call.

    \n\n
  • scope : Object

    If a scope (this reference) was specified when the listener was added, then this must\nrefer to the same object.

    \n\n

Returns

Return clipping (overflow) to original clipping before clip was called\n\nDefined in override Ext.dom.Element_style. ...

Return clipping (overflow) to original clipping before clip was called

\n\n

Defined in override Ext.dom.Element_style.

\n

Returns

Hides a previously applied mask. ...

Hides a previously applied mask.

\n

Overrides: Ext.dom.AbstractElement.unmask

Disables text selection for this element (normalized across browsers)\n\nDefined in override Ext.dom.Element_style. ...

Disables text selection for this element (normalized across browsers)

\n\n

Defined in override Ext.dom.Element_style.

\n

Returns

( selector, [limit], [returnDom] ) : Ext.Element
Walks up the DOM looking for a parent node that matches the passed simple selector (e.g. ...

Walks 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.dom.Element.

\n\n

Defined in override Ext.dom.AbstractElement_traversal.

\n

Parameters

  • selector : String

    The simple selector to test

    \n
  • limit : Number/String/HTMLElement/Ext.Element (optional)

    The max depth to search as a number or an element which causes the upward traversal to stop\nand is not considered for inclusion as the result. (defaults to 50 || document.documentElement)

    \n
  • returnDom : Boolean (optional)

    True to return the DOM node instead of Ext.dom.Element

    \n

    Defaults to: false

Returns

  • Ext.Element

    The matching DOM node (or null if no match was found)

    \n
( html, [loadScripts], [callback] ) : Ext.dom.Elementchainable
Updates the innerHTML of this element, optionally searching for and processing scripts. ...

Updates the innerHTML of this element, optionally searching for and processing scripts.

\n

Parameters

  • html : String

    The new HTML

    \n
  • loadScripts : Boolean (optional)

    True to look for and process scripts (defaults to false)

    \n
  • callback : Function (optional)

    For async script loading you can be notified when the update completes

    \n

Returns

Overrides: Ext.dom.AbstractElement.update

( [config], [returnDom], [selector] ) : HTMLElement/Ext.dom.AbstractElement
Creates and wraps this element with another element\n\nDefined in override Ext.dom.AbstractElement_insertion. ...

Creates and wraps this element with another element

\n\n

Defined in override Ext.dom.AbstractElement_insertion.

\n

Parameters

  • config : Object (optional)

    DomHelper element config object for the wrapper element or null for an empty div

    \n
  • returnDom : Boolean (optional)

    True to return the raw DOM element instead of Ext.dom.AbstractElement

    \n

    Defaults to: false

  • selector : String (optional)

    A DomQuery selector to select a descendant node within the created element to use as the wrapping element.

    \n

Returns

Defined By

Static Methods

( config )privatestatic
...
\n

Parameters

( members )chainableprivatestatic
...
\n

Parameters

( name, member )chainableprivatestatic
...
\n

Parameters

( members )chainablestatic
Add methods / properties to the prototype of this class. ...

Add methods / properties to the prototype of this class.

\n\n
Ext.define('My.awesome.Cat', {\n    constructor: function() {\n        ...\n    }\n});\n\n My.awesome.Cat.addMembers({\n     meow: function() {\n        alert('Meowww...');\n     }\n });\n\n var kitty = new My.awesome.Cat;\n kitty.meow();\n
\n

Parameters

( members ) : Ext.Basechainablestatic
Add / override static properties of this class. ...

Add / override static properties of this class.

\n\n
Ext.define('My.cool.Class', {\n    ...\n});\n\nMy.cool.Class.addStatics({\n    someProperty: 'someValue',      // My.cool.Class.someProperty = 'someValue'\n    method1: function() { ... },    // My.cool.Class.method1 = function() { ... };\n    method2: function() { ... }     // My.cool.Class.method2 = function() { ... };\n});\n
\n

Parameters

Returns

...
\n

Parameters

( size, units )privatestatic
Test if size has a unit, otherwise appends the passed unit string, or the default for this Element. ...

Test if size has a unit, otherwise appends the passed unit string, or the default for this Element.

\n\n

Defined in override Ext.dom.AbstractElement_static.

\n

Parameters

  • size : Object

    {Object} The size to set

    \n
  • units : Object

    {String} The units to append to a numeric size value

    \n
( xtype )chainableprivatestatic
...
\n

Parameters

( fromClass, members ) : Ext.Basechainableprivatestatic
Borrow another class' members to the prototype of this class. ...

Borrow another class' members to the prototype of this class.

\n\n
Ext.define('Bank', {\n    money: '$$$',\n    printMoney: function() {\n        alert('$$$$$$$');\n    }\n});\n\nExt.define('Thief', {\n    ...\n});\n\nThief.borrow(Bank, ['money', 'printMoney']);\n\nvar steve = new Thief();\n\nalert(steve.money); // alerts '$$$'\nsteve.printMoney(); // alerts '$$$$$$$'\n
\n

Parameters

  • fromClass : Ext.Base

    The class to borrow members from

    \n
  • members : Array/String

    The names of the members to borrow

    \n

Returns

private\n\nDefined in override Ext.dom.AbstractElement_static. ...

private

\n\n

Defined in override Ext.dom.AbstractElement_static.

\n

Parameters

Create a new instance of this Class. ...

Create a new instance of this Class.

\n\n
Ext.define('My.cool.Class', {\n    ...\n});\n\nMy.cool.Class.create({\n    someConfig: true\n});\n
\n\n

All parameters are passed to the constructor of the class.

\n

Returns

( alias, origin )static
Create aliases for existing prototype methods. ...

Create aliases for existing prototype methods. Example:

\n\n
Ext.define('My.cool.Class', {\n    method1: function() { ... },\n    method2: function() { ... }\n});\n\nvar test = new My.cool.Class();\n\nMy.cool.Class.createAlias({\n    method3: 'method1',\n    method4: 'method2'\n});\n\ntest.method3(); // test.method1()\n\nMy.cool.Class.createAlias('method5', 'method3');\n\ntest.method5(); // test.method3() -> test.method1()\n
\n

Parameters

( config )privatestatic
...
\n

Parameters

Returns the top Element that is located at the passed coordinates\n\nDefined in override Ext.dom.AbstractElement_static. ...

Returns the top Element that is located at the passed coordinates

\n\n

Defined in override Ext.dom.AbstractElement_static.

\n

Parameters

Returns

Retrieves Ext.dom.Element objects. ...

Retrieves Ext.dom.Element objects. Ext.get is alias for Ext.dom.Element.get.

\n\n

This method does not retrieve Components. This method retrieves Ext.dom.Element\nobjects which encapsulate DOM elements. To retrieve a Component by its ID, use Ext.ComponentManager.get.

\n\n

When passing an id, it should not include the # character that is used for a css selector.

\n\n
// For an element with id 'foo'\nExt.get('foo'); // Correct\nExt.get('#foo'); // Incorrect\n
\n\n

Uses simple caching to consistently return the same object. Automatically fixes if an object was recreated with\nthe same id via AJAX or DOM.

\n

Parameters

  • el : String/HTMLElement/Ext.Element

    The id of the node, a DOM Node or an existing Element.

    \n

Returns

  • Ext.dom.Element

    The Element object (or null if no matching element was found)

    \n
Retrieves the document height\n\nDefined in override Ext.dom.AbstractElement_static. ...

Retrieves the document height

\n\n

Defined in override Ext.dom.AbstractElement_static.

\n

Returns

Retrieves the document width\n\nDefined in override Ext.dom.AbstractElement_static. ...

Retrieves the document width

\n\n

Defined in override Ext.dom.AbstractElement_static.

\n

Returns

Get the current class' name in string format. ...

Get the current class' name in string format.

\n\n
Ext.define('My.cool.Class', {\n    constructor: function() {\n        alert(this.self.getName()); // alerts 'My.cool.Class'\n    }\n});\n\nMy.cool.Class.getName(); // 'My.cool.Class'\n
\n

Returns

Retrieves the current orientation of the window. ...

Retrieves the current orientation of the window. This is calculated by\ndeterming if the height is greater than the width.

\n\n

Defined in override Ext.dom.AbstractElement_static.

\n

Returns

  • String

    Orientation of window: 'portrait' or 'landscape'

    \n
Retrieves the viewport size of the window. ...

Retrieves the viewport size of the window.

\n\n

Defined in override Ext.dom.AbstractElement_static.

\n

Returns

  • Object

    object containing width and height properties

    \n
Retrieves the viewport height of the window. ...

Retrieves the viewport height of the window.

\n\n

Defined in override Ext.dom.AbstractElement_static.

\n

Returns

Retrieves the viewport width of the window. ...

Retrieves the viewport width of the window.

\n\n

Defined in override Ext.dom.AbstractElement_static.

\n

Returns

( )deprecatedstatic
Adds members to class. ...

Adds members to class.

\n
\n

This method has been deprecated since 4.1

\n

Use addMembers instead.

\n\n
\n
Defined in override Ext.dom.AbstractElement_static. ...

Defined in override Ext.dom.AbstractElement_static.

\n

Parameters

Returns an array of unique class names based upon the input strings, or string arrays. ...

Returns an array of unique class names based upon the input strings, or string arrays.

\n\n\n

The number of parameters is unlimited.

\n\n\n

Example

\n\n\n
// Add x-invalid and x-mandatory classes, do not duplicate\nmyElement.dom.className = Ext.core.Element.mergeClsList(this.initialClasses, 'x-invalid x-mandatory');\n
\n\n

Parameters

  • clsList1 : Mixed

    A string of class names, or an array of class names.

    \n
  • clsList2 : Mixed

    A string of class names, or an array of class names.

    \n

Returns

  • Array

    An array of strings representing remaining unique, merged class names. If class names were added to the first list, the changed property will be true.

    \n
( name, mixinClass )privatestatic
Used internally by the mixins pre-processor ...

Used internally by the mixins pre-processor

\n

Parameters

Normalizes CSS property keys from dash delimited to camel case JavaScript Syntax. ...

Normalizes CSS property keys from dash delimited to camel case JavaScript Syntax.\nFor example:

\n\n
    \n
  • border-width -> borderWidth
  • \n
  • padding-top -> paddingTop
  • \n
\n\n\n

Defined in override Ext.dom.AbstractElement_static.

\n

Parameters

  • prop : String

    The property to normalize

    \n

Returns

( fn, scope )chainableprivatestatic
...
\n

Parameters

( members ) : Ext.Basechainabledeprecatedstatic
Override members of this class. ...

Override members of this class. Overridden methods can be invoked via\ncallParent.

\n\n
Ext.define('My.Cat', {\n    constructor: function() {\n        alert(\"I'm a cat!\");\n    }\n});\n\nMy.Cat.override({\n    constructor: function() {\n        alert(\"I'm going to be a cat!\");\n\n        this.callParent(arguments);\n\n        alert(\"Meeeeoooowwww\");\n    }\n});\n\nvar kitty = new My.Cat(); // alerts \"I'm going to be a cat!\"\n                          // alerts \"I'm a cat!\"\n                          // alerts \"Meeeeoooowwww\"\n
\n\n

As of 4.1, direct use of this method is deprecated. Use Ext.define\ninstead:

\n\n
Ext.define('My.CatOverride', {\n    override: 'My.Cat',\n    constructor: function() {\n        alert(\"I'm going to be a cat!\");\n\n        this.callParent(arguments);\n\n        alert(\"Meeeeoooowwww\");\n    }\n});\n
\n\n

The above accomplishes the same result but can be managed by the Ext.Loader\nwhich can properly order the override and its target class and the build process\ncan determine whether the override is needed based on the required state of the\ntarget class (My.Cat).

\n
\n

This method has been deprecated since 4.1.0

\n

Use Ext.define instead

\n\n
\n

Parameters

  • members : Object

    The properties to add to this class. This should be\nspecified as an object literal containing one or more properties.

    \n

Returns

Parses a number or string representing margin sizes into an object. ...

Parses 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)

\n\n

Defined in override Ext.dom.AbstractElement_static.

\n

Parameters

Returns

  • Object

    An object with margin sizes for top, right, bottom and left

    \n
Converts a CSS string into an object with a property for each style. ...

Converts a CSS string into an object with a property for each style.

\n\n

The sample code below would return an object with 2 properties, one\nfor background-color and one for color.

\n\n
var css = 'background-color: red;color: blue; ';\nconsole.log(Ext.dom.Element.parseStyles(css));\n
\n\n

Defined in override Ext.dom.AbstractElement_static.

\n

Parameters

Returns

( existingClsList, removeClsList ) : Arraystatic
Returns an array of unique class names deom the first parameter with all class names\nfrom the second parameter removed. ...

Returns an array of unique class names deom the first parameter with all class names\nfrom the second parameter removed.

\n\n\n

Example

\n\n\n
// Remove x-invalid and x-mandatory classes if present.\nmyElement.dom.className = Ext.core.Element.removeCls(this.initialClasses, 'x-invalid x-mandatory');\n
\n\n

Parameters

  • existingClsList : Mixed

    A string of class names, or an array of class names.

    \n
  • removeClsList : Mixed

    A string of class names, or an array of class names to remove from existingClsList.

    \n

Returns

  • Array

    An array of strings representing remaining class names. If class names were removed, the changed property will be true.

    \n
Parses a number or string representing margin sizes into an object. ...

Parses 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)

\n\n

Defined in override Ext.dom.AbstractElement_static.

\n

Parameters

  • box : Number/String/Object

    The encoded margins, or an object with top, right,\nbottom, and left properties

    \n
  • units : String

    The type of units to add

    \n

Returns

  • String

    An string with unitized (px if units is not specified) metrics for top, right, bottom and left

    \n
Defined By

Events

Where supported. ...

Where supported. Fires when an element is activated, for instance, through a mouse click or a keypress.

\n

Parameters

Where supported. ...

Where supported. Fires when an attribute has been modified.

\n

Parameters

Where supported. ...

Where supported. Fires when the character data has been modified.

\n

Parameters

Where supported. ...

Where supported. Similar to HTML focus event, but can be applied to any focusable element.

\n

Parameters

Where supported. ...

Where supported. Similar to HTML blur event, but can be applied to any focusable element.

\n

Parameters

Where supported. ...

Where supported. Fires when a node has been added as a child of another node.

\n

Parameters

Where supported. ...

Where supported. Fires when a node is being inserted into a document.

\n

Parameters

Where supported. ...

Where supported. Fires when a descendant node of the element is removed.

\n

Parameters

Where supported. ...

Where supported. Fires when a node is being removed from a document.

\n

Parameters

Where supported. ...

Where supported. Fires when the subtree is modified.

\n

Parameters

Fires when an object/image is stopped from loading before completely loaded. ...

Fires when an object/image is stopped from loading before completely loaded.

\n

Parameters

Fires when an element loses focus either via the pointing device or by tabbing navigation. ...

Fires when an element loses focus either via the pointing device or by tabbing navigation.

\n

Parameters

Fires when a control loses the input focus and its value has been modified since gaining focus. ...

Fires when a control loses the input focus and its value has been modified since gaining focus.

\n

Parameters

Fires when a mouse click is detected within the element. ...

Fires when a mouse click is detected within the element.

\n

Parameters

Fires when a right click is detected within the element. ...

Fires when a right click is detected within the element.

\n

Parameters

Fires when a mouse double click is detected within the element. ...

Fires when a mouse double click is detected within the element.

\n

Parameters

Fires when an object/image/frame cannot be loaded properly. ...

Fires when an object/image/frame cannot be loaded properly.

\n

Parameters

Fires when an element receives focus either via the pointing device or by tab navigation. ...

Fires when an element receives focus either via the pointing device or by tab navigation.

\n

Parameters

Fires when a keydown is detected within the element. ...

Fires when a keydown is detected within the element.

\n

Parameters

Fires when a keypress is detected within the element. ...

Fires when a keypress is detected within the element.

\n

Parameters

Fires when a keyup is detected within the element. ...

Fires when a keyup is detected within the element.

\n

Parameters

Fires when the user agent finishes loading all content within the element. ...

Fires when the user agent finishes loading all content within the element. Only supported by window, frames,\nobjects and images.

\n

Parameters

Fires when a mousedown is detected within the element. ...

Fires when a mousedown is detected within the element.

\n

Parameters

Fires when the mouse enters the element. ...

Fires when the mouse enters the element.

\n

Parameters

Fires when the mouse leaves the element. ...

Fires when the mouse leaves the element.

\n

Parameters

Fires when a mousemove is detected with the element. ...

Fires when a mousemove is detected with the element.

\n

Parameters

Fires when a mouseout is detected with the element. ...

Fires when a mouseout is detected with the element.

\n

Parameters

Fires when a mouseover is detected within the element. ...

Fires when a mouseover is detected within the element.

\n

Parameters

Fires when a mouseup is detected within the element. ...

Fires when a mouseup is detected within the element.

\n

Parameters

Fires when a form is reset. ...

Fires when a form is reset.

\n

Parameters

Fires when a document view is resized. ...

Fires when a document view is resized.

\n

Parameters

Fires when a document view is scrolled. ...

Fires when a document view is scrolled.

\n

Parameters

Fires when a user selects some text in a text field, including input and textarea. ...

Fires when a user selects some text in a text field, including input and textarea.

\n

Parameters

Fires when a form is submitted. ...

Fires when a form is submitted.

\n

Parameters

Fires when the user agent removes all content from a window or frame. ...

Fires 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.

\n

Parameters

","superclasses":["Ext.Base","Ext.dom.AbstractElement","Ext.dom.Element"],"meta":{},"code_type":"ext_define","requires":[],"html_meta":{},"statics":{"property":[{"tagname":"property","owner":"Ext.Base","meta":{"static":true,"private":true},"name":"$onExtended","id":"static-property-S-onExtended"},{"tagname":"property","owner":"Ext.dom.AbstractElement","meta":{"static":true},"name":"ASCLASS","id":"static-property-ASCLASS"},{"tagname":"property","owner":"Ext.dom.AbstractElement","meta":{"static":true},"name":"DISPLAY","id":"static-property-DISPLAY"},{"tagname":"property","owner":"Ext.dom.AbstractElement","meta":{"static":true},"name":"OFFSETS","id":"static-property-OFFSETS"},{"tagname":"property","owner":"Ext.dom.AbstractElement","meta":{"static":true},"name":"VISIBILITY","id":"static-property-VISIBILITY"},{"tagname":"property","owner":"Ext.dom.AbstractElement","meta":{"static":true,"private":true},"name":"borders","id":"property-borders"},{"tagname":"property","owner":"Ext.dom.AbstractElement","meta":{"static":true,"private":true},"name":"camelRe","id":"property-camelRe"},{"tagname":"property","owner":"Ext.dom.AbstractElement","meta":{"static":true,"private":true},"name":"cssRe","id":"property-cssRe"},{"tagname":"property","owner":"Ext.dom.AbstractElement","meta":{"static":true,"private":true},"name":"margins","id":"property-margins"},{"tagname":"property","owner":"Ext.dom.AbstractElement","meta":{"static":true,"private":true},"name":"msRe","id":"property-msRe"},{"tagname":"property","owner":"Ext.dom.AbstractElement","meta":{"static":true,"private":true},"name":"opacityRe","id":"property-opacityRe"},{"tagname":"property","owner":"Ext.dom.AbstractElement","meta":{"static":true,"private":true},"name":"paddings","id":"property-paddings"},{"tagname":"property","owner":"Ext.dom.AbstractElement","meta":{"static":true,"private":true},"name":"propertyCache","id":"property-propertyCache"},{"tagname":"property","owner":"Ext.dom.Layer","meta":{"static":true,"private":true},"name":"shims","id":"property-shims"},{"tagname":"property","owner":"Ext.dom.AbstractElement","meta":{"static":true,"private":true},"name":"trimRe","id":"property-trimRe"},{"tagname":"property","owner":"Ext.dom.AbstractElement","meta":{"static":true,"private":true},"name":"unitRe","id":"property-unitRe"},{"tagname":"property","owner":"Ext.dom.AbstractElement","meta":{"static":true,"private":true},"name":"whitespaceRe","id":"property-whitespaceRe"}],"cfg":[],"css_var":[],"method":[{"tagname":"method","owner":"Ext.Base","meta":{"static":true,"private":true},"name":"addConfig","id":"static-method-addConfig"},{"tagname":"method","owner":"Ext.Base","meta":{"static":true,"chainable":true,"private":true},"name":"addInheritableStatics","id":"static-method-addInheritableStatics"},{"tagname":"method","owner":"Ext.Base","meta":{"static":true,"chainable":true,"private":true},"name":"addMember","id":"static-method-addMember"},{"tagname":"method","owner":"Ext.Base","meta":{"static":true,"chainable":true},"name":"addMembers","id":"static-method-addMembers"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{"static":true,"private":true},"name":"addMethods","id":"method-addMethods"},{"tagname":"method","owner":"Ext.Base","meta":{"static":true,"chainable":true},"name":"addStatics","id":"static-method-addStatics"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{"static":true,"private":true},"name":"addToCache","id":"method-addToCache"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{"static":true,"private":true},"name":"addUnits","id":"static-method-addUnits"},{"tagname":"method","owner":"Ext.Base","meta":{"static":true,"chainable":true,"private":true},"name":"addXtype","id":"static-method-addXtype"},{"tagname":"method","owner":"Ext.Base","meta":{"static":true,"chainable":true,"private":true},"name":"borrow","id":"static-method-borrow"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{"static":true,"private":true},"name":"camelReplaceFn","id":"method-camelReplaceFn"},{"tagname":"method","owner":"Ext.Base","meta":{"static":true},"name":"create","id":"static-method-create"},{"tagname":"method","owner":"Ext.Base","meta":{"static":true},"name":"createAlias","id":"static-method-createAlias"},{"tagname":"method","owner":"Ext.Base","meta":{"static":true,"private":true},"name":"extend","id":"static-method-extend"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{"static":true},"name":"fromPoint","id":"static-method-fromPoint"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{"static":true},"name":"get","id":"static-method-get"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{"static":true},"name":"getDocumentHeight","id":"static-method-getDocumentHeight"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{"static":true},"name":"getDocumentWidth","id":"static-method-getDocumentWidth"},{"tagname":"method","owner":"Ext.Base","meta":{"static":true},"name":"getName","id":"static-method-getName"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{"static":true},"name":"getOrientation","id":"static-method-getOrientation"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{"static":true},"name":"getViewSize","id":"static-method-getViewSize"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{"static":true},"name":"getViewportHeight","id":"static-method-getViewportHeight"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{"static":true},"name":"getViewportWidth","id":"static-method-getViewportWidth"},{"tagname":"method","owner":"Ext.Base","meta":{"static":true,"deprecated":{"text":"Use {@link #addMembers} instead.","version":"4.1"}},"name":"implement","id":"static-method-implement"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{"static":true,"private":true},"name":"isAncestor","id":"static-method-isAncestor"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{"static":true},"name":"mergeClsList","id":"static-method-mergeClsList"},{"tagname":"method","owner":"Ext.Base","meta":{"static":true,"private":true},"name":"mixin","id":"static-method-mixin"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{"static":true},"name":"normalize","id":"static-method-normalize"},{"tagname":"method","owner":"Ext.Base","meta":{"static":true,"chainable":true,"private":true},"name":"onExtended","id":"static-method-onExtended"},{"tagname":"method","owner":"Ext.Base","meta":{"static":true,"chainable":true,"markdown":true,"deprecated":{"text":"Use {@link Ext#define Ext.define} instead","version":"4.1.0"}},"name":"override","id":"static-method-override"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{"static":true},"name":"parseBox","id":"static-method-parseBox"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{"static":true},"name":"parseStyles","id":"static-method-parseStyles"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{"static":true},"name":"removeCls","id":"static-method-removeCls"},{"tagname":"method","owner":"Ext.Base","meta":{"static":true,"private":true},"name":"triggerExtended","id":"static-method-triggerExtended"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{"static":true},"name":"unitizeBox","id":"static-method-unitizeBox"}],"event":[],"css_mixin":[]},"files":[{"href":"Layer.html#Ext-dom-Layer","filename":"Layer.js"}],"linenr":1,"members":{"property":[{"tagname":"property","owner":"Ext.Base","meta":{"private":true},"name":"$className","id":"property-S-className"},{"tagname":"property","owner":"Ext.dom.Element","meta":{"private":true},"name":"_positionTopRight","id":"property-_positionTopRight"},{"tagname":"property","owner":"Ext.dom.Element","meta":{},"name":"autoBoxAdjust","id":"property-autoBoxAdjust"},{"tagname":"property","owner":"Ext.Base","meta":{"private":true},"name":"configMap","id":"property-configMap"},{"tagname":"property","owner":"Ext.dom.AbstractElement","meta":{},"name":"defaultUnit","id":"property-defaultUnit"},{"tagname":"property","owner":"Ext.dom.AbstractElement","meta":{},"name":"dom","id":"property-dom"},{"tagname":"property","owner":"Ext.dom.Element","meta":{"private":true},"name":"getTrueXY","id":"property-getTrueXY"},{"tagname":"property","owner":"Ext.dom.AbstractElement","meta":{},"name":"id","id":"property-id"},{"tagname":"property","owner":"Ext.Base","meta":{"private":true},"name":"initConfigList","id":"property-initConfigList"},{"tagname":"property","owner":"Ext.Base","meta":{"private":true},"name":"initConfigMap","id":"property-initConfigMap"},{"tagname":"property","owner":"Ext.Base","meta":{"private":true},"name":"isInstance","id":"property-isInstance"},{"tagname":"property","owner":"Ext.dom.Layer","meta":{"private":true},"name":"isLayer","id":"property-isLayer"},{"tagname":"property","owner":"Ext.dom.Layer","meta":{"private":true},"name":"localXYNames","id":"property-localXYNames"},{"tagname":"property","owner":"Ext.dom.Element","meta":{},"name":"originalDisplay","id":"property-originalDisplay"},{"tagname":"property","owner":"Ext.Base","meta":{"protected":true},"name":"self","id":"property-self"},{"tagname":"property","owner":"Ext.dom.AbstractElement","meta":{"private":true},"name":"styleHooks","id":"property-styleHooks"}],"cfg":[{"tagname":"cfg","owner":"Ext.dom.Layer","meta":{},"name":"cls","id":"cfg-cls"},{"tagname":"cfg","owner":"Ext.dom.Layer","meta":{},"name":"constrain","id":"cfg-constrain"},{"tagname":"cfg","owner":"Ext.dom.Layer","meta":{},"name":"dh","id":"cfg-dh"},{"tagname":"cfg","owner":"Ext.dom.Layer","meta":{},"name":"hideMode","id":"cfg-hideMode"},{"tagname":"cfg","owner":"Ext.dom.Layer","meta":{},"name":"shadow","id":"cfg-shadow"},{"tagname":"cfg","owner":"Ext.dom.Layer","meta":{},"name":"shadowOffset","id":"cfg-shadowOffset"},{"tagname":"cfg","owner":"Ext.dom.Layer","meta":{},"name":"shim","id":"cfg-shim"},{"tagname":"cfg","owner":"Ext.dom.Layer","meta":{},"name":"useDisplay","id":"cfg-useDisplay"},{"tagname":"cfg","owner":"Ext.dom.Layer","meta":{},"name":"visibilityCls","id":"cfg-visibilityCls"},{"tagname":"cfg","owner":"Ext.dom.Layer","meta":{},"name":"zindex","id":"cfg-zindex"}],"css_var":[],"method":[{"tagname":"method","owner":"Ext.dom.Layer","meta":{},"name":"constructor","id":"method-constructor"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{},"name":"addCls","id":"method-addCls"},{"tagname":"method","owner":"Ext.dom.Element","meta":{"chainable":true},"name":"addClsOnClick","id":"method-addClsOnClick"},{"tagname":"method","owner":"Ext.dom.Element","meta":{"chainable":true},"name":"addClsOnFocus","id":"method-addClsOnFocus"},{"tagname":"method","owner":"Ext.dom.Element","meta":{"chainable":true},"name":"addClsOnOver","id":"method-addClsOnOver"},{"tagname":"method","owner":"Ext.dom.Element","meta":{},"name":"addKeyListener","id":"method-addKeyListener"},{"tagname":"method","owner":"Ext.dom.Element","meta":{},"name":"addKeyMap","id":"method-addKeyMap"},{"tagname":"method","owner":"Ext.dom.Element","meta":{"chainable":true},"name":"addListener","id":"method-addListener"},{"tagname":"method","owner":"Ext.dom.Element","meta":{"private":true},"name":"adjustDirect2DDimension","id":"method-adjustDirect2DDimension"},{"tagname":"method","owner":"Ext.dom.Layer","meta":{"private":true},"name":"afterFx","id":"method-afterFx"},{"tagname":"method","owner":"Ext.dom.Element","meta":{"private":true},"name":"anchorAnimX","id":"method-anchorAnimX"},{"tagname":"method","owner":"Ext.dom.Element","meta":{"private":true},"name":"anim","id":"method-anim"},{"tagname":"method","owner":"Ext.dom.Element","meta":{"chainable":true},"name":"animate","id":"method-animate"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{},"name":"appendChild","id":"method-appendChild"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{"chainable":true},"name":"appendTo","id":"method-appendTo"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{},"name":"applyStyles","id":"method-applyStyles"},{"tagname":"method","owner":"Ext.dom.Layer","meta":{"private":true},"name":"beforeAction","id":"method-beforeAction"},{"tagname":"method","owner":"Ext.dom.Layer","meta":{"private":true},"name":"beforeFx","id":"method-beforeFx"},{"tagname":"method","owner":"Ext.dom.Layer","meta":{"private":true},"name":"beginUpdate","id":"method-beginUpdate"},{"tagname":"method","owner":"Ext.dom.Element","meta":{"chainable":true},"name":"blur","id":"method-blur"},{"tagname":"method","owner":"Ext.dom.Element","meta":{},"name":"boxWrap","id":"method-boxWrap"},{"tagname":"method","owner":"Ext.dom.Element","meta":{},"name":"cacheScrollValues","id":"method-cacheScrollValues"},{"tagname":"method","owner":"Ext.Base","meta":{"protected":true,"deprecated":{"text":"as of 4.1. Use {@link #callParent} instead."}},"name":"callOverridden","id":"method-callOverridden"},{"tagname":"method","owner":"Ext.Base","meta":{"protected":true},"name":"callParent","id":"method-callParent"},{"tagname":"method","owner":"Ext.Base","meta":{"protected":true},"name":"callSuper","id":"method-callSuper"},{"tagname":"method","owner":"Ext.dom.Element","meta":{},"name":"center","id":"method-center"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{},"name":"child","id":"method-child"},{"tagname":"method","owner":"Ext.dom.Element","meta":{},"name":"clean","id":"method-clean"},{"tagname":"method","owner":"Ext.dom.Element","meta":{"chainable":true},"name":"clearListeners","id":"method-clearListeners"},{"tagname":"method","owner":"Ext.dom.Element","meta":{"chainable":true},"name":"clearOpacity","id":"method-clearOpacity"},{"tagname":"method","owner":"Ext.dom.Element","meta":{"chainable":true},"name":"clearPositioning","id":"method-clearPositioning"},{"tagname":"method","owner":"Ext.dom.Element","meta":{"chainable":true},"name":"clip","id":"method-clip"},{"tagname":"method","owner":"Ext.Base","meta":{"private":true},"name":"configClass","id":"method-configClass"},{"tagname":"method","owner":"Ext.dom.Element","meta":{"private":true},"name":"constrainScrollLeft","id":"method-constrainScrollLeft"},{"tagname":"method","owner":"Ext.dom.Element","meta":{"private":true},"name":"constrainScrollTop","id":"method-constrainScrollTop"},{"tagname":"method","owner":"Ext.dom.Layer","meta":{"chainable":true,"private":true},"name":"constrainXY","id":"method-constrainXY"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{},"name":"contains","id":"method-contains"},{"tagname":"method","owner":"Ext.dom.Layer","meta":{"private":true},"name":"createCB","id":"method-createCB"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{},"name":"createChild","id":"method-createChild"},{"tagname":"method","owner":"Ext.dom.Element","meta":{},"name":"createProxy","id":"method-createProxy"},{"tagname":"method","owner":"Ext.dom.Element","meta":{},"name":"createShim","id":"method-createShim"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{},"name":"destroy","id":"method-destroy"},{"tagname":"method","owner":"Ext.dom.Layer","meta":{"private":true},"name":"disableShadow","id":"method-disableShadow"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{},"name":"down","id":"method-down"},{"tagname":"method","owner":"Ext.dom.Element","meta":{"chainable":true},"name":"enableDisplayMode","id":"method-enableDisplayMode"},{"tagname":"method","owner":"Ext.dom.Layer","meta":{"private":true},"name":"enableShadow","id":"method-enableShadow"},{"tagname":"method","owner":"Ext.dom.Layer","meta":{"private":true},"name":"endUpdate","id":"method-endUpdate"},{"tagname":"method","owner":"Ext.dom.Element","meta":{"chainable":true},"name":"fadeIn","id":"method-fadeIn"},{"tagname":"method","owner":"Ext.dom.Element","meta":{},"name":"fadeOut","id":"method-fadeOut"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{},"name":"findParent","id":"method-findParent"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{},"name":"findParentNode","id":"method-findParentNode"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{},"name":"first","id":"method-first"},{"tagname":"method","owner":"Ext.dom.Element","meta":{"chainable":true},"name":"focus","id":"method-focus"},{"tagname":"method","owner":"Ext.dom.Element","meta":{},"name":"focusable","id":"method-focusable"},{"tagname":"method","owner":"Ext.dom.Element","meta":{},"name":"frame","id":"method-frame"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{},"name":"getActiveElement","id":"method-getActiveElement"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{},"name":"getAttribute","id":"method-getAttribute"},{"tagname":"method","owner":"Ext.dom.Element","meta":{},"name":"getAttributeNS","id":"method-getAttributeNS"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{},"name":"getBorderWidth","id":"method-getBorderWidth"},{"tagname":"method","owner":"Ext.dom.Element","meta":{"deprecated":{"text":""}},"name":"getBottom","id":"method-getBottom"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{},"name":"getById","id":"method-getById"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{"private":true},"name":"getCache","id":"method-getCache"},{"tagname":"method","owner":"Ext.dom.Element","meta":{"deprecated":{"text":""}},"name":"getCenterXY","id":"method-getCenterXY"},{"tagname":"method","owner":"Ext.dom.Element","meta":{},"name":"getColor","id":"method-getColor"},{"tagname":"method","owner":"Ext.dom.Element","meta":{},"name":"getComputedHeight","id":"method-getComputedHeight"},{"tagname":"method","owner":"Ext.dom.Element","meta":{},"name":"getComputedWidth","id":"method-getComputedWidth"},{"tagname":"method","owner":"Ext.Base","meta":{"private":true},"name":"getConfig","id":"method-getConfig"},{"tagname":"method","owner":"Ext.dom.Layer","meta":{"private":true},"name":"getConstrainOffset","id":"method-getConstrainOffset"},{"tagname":"method","owner":"Ext.dom.Element","meta":{},"name":"getFrameWidth","id":"method-getFrameWidth"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{},"name":"getHTML","id":"method-getHTML"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{},"name":"getHeight","id":"method-getHeight"},{"tagname":"method","owner":"Ext.Base","meta":{},"name":"getInitialConfig","id":"method-getInitialConfig"},{"tagname":"method","owner":"Ext.dom.Element","meta":{"deprecated":{"text":"Use {@link #getX} or {@link #getLocalX}"}},"name":"getLeft","id":"method-getLeft"},{"tagname":"method","owner":"Ext.dom.Element","meta":{},"name":"getLoader","id":"method-getLoader"},{"tagname":"method","owner":"Ext.dom.Element","meta":{},"name":"getLocalX","id":"method-getLocalX"},{"tagname":"method","owner":"Ext.dom.Element","meta":{},"name":"getLocalXY","id":"method-getLocalXY"},{"tagname":"method","owner":"Ext.dom.Element","meta":{},"name":"getLocalY","id":"method-getLocalY"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{},"name":"getMargin","id":"method-getMargin"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{},"name":"getPadding","id":"method-getPadding"},{"tagname":"method","owner":"Ext.dom.Element","meta":{"deprecated":{"text":"use {@link Ext.util.Positionable#getBox} to get a box object, and\n{@link Ext.util.Positionable#getRegion} to get a {@link Ext.util.Region Region}."}},"name":"getPageBox","id":"method-getPageBox"},{"tagname":"method","owner":"Ext.dom.Element","meta":{"private":true},"name":"getPositioning","id":"method-getPositioning"},{"tagname":"method","owner":"Ext.dom.Element","meta":{"deprecated":{"text":""}},"name":"getRight","id":"method-getRight"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{"private":true},"name":"getRightMarginFixCleaner","id":"method-getRightMarginFixCleaner"},{"tagname":"method","owner":"Ext.dom.Element","meta":{},"name":"getScroll","id":"method-getScroll"},{"tagname":"method","owner":"Ext.dom.Element","meta":{},"name":"getScrollLeft","id":"method-getScrollLeft"},{"tagname":"method","owner":"Ext.dom.Element","meta":{},"name":"getScrollTop","id":"method-getScrollTop"},{"tagname":"method","owner":"Ext.dom.Layer","meta":{"private":true},"name":"getShim","id":"method-getShim"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{},"name":"getSize","id":"method-getSize"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{},"name":"getStyle","id":"method-getStyle"},{"tagname":"method","owner":"Ext.dom.Element","meta":{},"name":"getStyleSize","id":"method-getStyleSize"},{"tagname":"method","owner":"Ext.dom.Element","meta":{},"name":"getTextWidth","id":"method-getTextWidth"},{"tagname":"method","owner":"Ext.dom.Element","meta":{"deprecated":{"text":"Use {@link #getY} or {@link #getLocalY}"}},"name":"getTop","id":"method-getTop"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{},"name":"getValue","id":"method-getValue"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{},"name":"getViewSize","id":"method-getViewSize"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{"private":true},"name":"getVisibilityMode","id":"method-getVisibilityMode"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{},"name":"getWidth","id":"method-getWidth"},{"tagname":"method","owner":"Ext.dom.Element","meta":{},"name":"getX","id":"method-getX"},{"tagname":"method","owner":"Ext.dom.Element","meta":{},"name":"getY","id":"method-getY"},{"tagname":"method","owner":"Ext.dom.Layer","meta":{"private":true},"name":"getZIndex","id":"method-getZIndex"},{"tagname":"method","owner":"Ext.dom.Element","meta":{},"name":"ghost","id":"method-ghost"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{},"name":"hasCls","id":"method-hasCls"},{"tagname":"method","owner":"Ext.Base","meta":{"private":true},"name":"hasConfig","id":"method-hasConfig"},{"tagname":"method","owner":"Ext.dom.Element","meta":{"private":true},"name":"hasMetrics","id":"method-hasMetrics"},{"tagname":"method","owner":"Ext.dom.Element","meta":{"chainable":true},"name":"hide","id":"method-hide"},{"tagname":"method","owner":"Ext.dom.Layer","meta":{"private":true},"name":"hideShim","id":"method-hideShim"},{"tagname":"method","owner":"Ext.dom.Layer","meta":{"private":true},"name":"hideUnders","id":"method-hideUnders"},{"tagname":"method","owner":"Ext.dom.Element","meta":{},"name":"highlight","id":"method-highlight"},{"tagname":"method","owner":"Ext.dom.Element","meta":{"chainable":true},"name":"hover","id":"method-hover"},{"tagname":"method","owner":"Ext.Base","meta":{"chainable":true,"protected":true},"name":"initConfig","id":"method-initConfig"},{"tagname":"method","owner":"Ext.dom.Element","meta":{},"name":"initDD","id":"method-initDD"},{"tagname":"method","owner":"Ext.dom.Element","meta":{},"name":"initDDProxy","id":"method-initDDProxy"},{"tagname":"method","owner":"Ext.dom.Element","meta":{},"name":"initDDTarget","id":"method-initDDTarget"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{"chainable":true},"name":"insertAfter","id":"method-insertAfter"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{"chainable":true},"name":"insertBefore","id":"method-insertBefore"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{},"name":"insertFirst","id":"method-insertFirst"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{},"name":"insertHtml","id":"method-insertHtml"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{},"name":"insertSibling","id":"method-insertSibling"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{},"name":"is","id":"method-is"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{"private":true},"name":"isAncestor","id":"method-isAncestor"},{"tagname":"method","owner":"Ext.dom.Element","meta":{},"name":"isBorderBox","id":"method-isBorderBox"},{"tagname":"method","owner":"Ext.dom.Element","meta":{},"name":"isDisplayed","id":"method-isDisplayed"},{"tagname":"method","owner":"Ext.dom.Element","meta":{},"name":"isFocusable","id":"method-isFocusable"},{"tagname":"method","owner":"Ext.dom.Element","meta":{},"name":"isMasked","id":"method-isMasked"},{"tagname":"method","owner":"Ext.dom.Element","meta":{},"name":"isScrollable","id":"method-isScrollable"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{},"name":"isStyle","id":"method-isStyle"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{},"name":"isTransparent","id":"method-isTransparent"},{"tagname":"method","owner":"Ext.dom.Element","meta":{},"name":"isVisible","id":"method-isVisible"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{},"name":"last","id":"method-last"},{"tagname":"method","owner":"Ext.dom.Element","meta":{"chainable":true},"name":"load","id":"method-load"},{"tagname":"method","owner":"Ext.dom.Element","meta":{},"name":"mask","id":"method-mask"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{"private":true},"name":"matchNode","id":"method-matchNode"},{"tagname":"method","owner":"Ext.dom.Element","meta":{},"name":"monitorMouseLeave","id":"method-monitorMouseLeave"},{"tagname":"method","owner":"Ext.dom.Element","meta":{"chainable":true,"deprecated":{"text":"Use {@link #setXY} instead."}},"name":"moveTo","id":"method-moveTo"},{"tagname":"method","owner":"Ext.dom.Element","meta":{},"name":"needsTabIndex","id":"method-needsTabIndex"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{},"name":"next","id":"method-next"},{"tagname":"method","owner":"Ext.dom.Element","meta":{"chainable":true},"name":"on","id":"method-on"},{"tagname":"method","owner":"Ext.Base","meta":{"private":true},"name":"onConfigUpdate","id":"method-onConfigUpdate"},{"tagname":"method","owner":"Ext.dom.Layer","meta":{"private":true},"name":"onOpacitySet","id":"method-onOpacitySet"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{},"name":"parent","id":"method-parent"},{"tagname":"method","owner":"Ext.dom.Element","meta":{"deprecated":{"text":"Use the `delay` config to {@link #animate} instead.","version":"4.0"}},"name":"pause","id":"method-pause"},{"tagname":"method","owner":"Ext.dom.Element","meta":{},"name":"position","id":"method-position"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{},"name":"prev","id":"method-prev"},{"tagname":"method","owner":"Ext.dom.Element","meta":{},"name":"puff","id":"method-puff"},{"tagname":"method","owner":"Ext.dom.Element","meta":{"chainable":true},"name":"purgeAllListeners","id":"method-purgeAllListeners"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{},"name":"query","id":"method-query"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{},"name":"radioCls","id":"method-radioCls"},{"tagname":"method","owner":"Ext.dom.Element","meta":{},"name":"relayEvent","id":"method-relayEvent"},{"tagname":"method","owner":"Ext.dom.Layer","meta":{},"name":"remove","id":"method-remove"},{"tagname":"method","owner":"Ext.dom.Element","meta":{"chainable":true},"name":"removeAllListeners","id":"method-removeAllListeners"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{},"name":"removeCls","id":"method-removeCls"},{"tagname":"method","owner":"Ext.dom.Element","meta":{"chainable":true},"name":"removeListener","id":"method-removeListener"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{"chainable":true},"name":"repaint","id":"method-repaint"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{"chainable":true},"name":"replace","id":"method-replace"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{},"name":"replaceCls","id":"method-replaceCls"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{},"name":"replaceWith","id":"method-replaceWith"},{"tagname":"method","owner":"Ext.dom.Element","meta":{"private":true},"name":"rtlGetLocalX","id":"method-rtlGetLocalX"},{"tagname":"method","owner":"Ext.dom.Element","meta":{"private":true},"name":"rtlGetLocalXY","id":"method-rtlGetLocalXY"},{"tagname":"method","owner":"Ext.dom.Element","meta":{"private":true},"name":"rtlSetLocalX","id":"method-rtlSetLocalX"},{"tagname":"method","owner":"Ext.dom.Element","meta":{"private":true},"name":"rtlSetLocalXY","id":"method-rtlSetLocalXY"},{"tagname":"method","owner":"Ext.dom.Element","meta":{"private":true},"name":"rtlSetX","id":"method-rtlSetX"},{"tagname":"method","owner":"Ext.dom.Element","meta":{"private":true},"name":"rtlSetXY","id":"method-rtlSetXY"},{"tagname":"method","owner":"Ext.dom.Element","meta":{"private":true},"name":"rtlSetY","id":"method-rtlSetY"},{"tagname":"method","owner":"Ext.dom.Element","meta":{"private":true},"name":"rtlTranslatePoints","id":"method-rtlTranslatePoints"},{"tagname":"method","owner":"Ext.dom.Element","meta":{"private":true},"name":"rtlTranslateXY","id":"method-rtlTranslateXY"},{"tagname":"method","owner":"Ext.dom.Element","meta":{"chainable":true,"deprecated":{"text":"Just use {@link #animate} instead.","version":"4.0"}},"name":"scale","id":"method-scale"},{"tagname":"method","owner":"Ext.dom.Element","meta":{},"name":"scroll","id":"method-scroll"},{"tagname":"method","owner":"Ext.dom.Element","meta":{},"name":"scrollBy","id":"method-scrollBy"},{"tagname":"method","owner":"Ext.dom.Element","meta":{"private":true},"name":"scrollChildIntoView","id":"method-scrollChildIntoView"},{"tagname":"method","owner":"Ext.dom.Element","meta":{"chainable":true},"name":"scrollIntoView","id":"method-scrollIntoView"},{"tagname":"method","owner":"Ext.dom.Element","meta":{},"name":"scrollTo","id":"method-scrollTo"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{},"name":"select","id":"method-select"},{"tagname":"method","owner":"Ext.dom.Element","meta":{},"name":"selectable","id":"method-selectable"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{},"name":"serializeForm","id":"method-serializeForm"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{"chainable":true},"name":"set","id":"method-set"},{"tagname":"method","owner":"Ext.dom.Element","meta":{"chainable":true,"deprecated":{"text":""}},"name":"setBottom","id":"method-setBottom"},{"tagname":"method","owner":"Ext.dom.Layer","meta":{"deprecated":{"text":"Use {@link Ext.util.Positionable#setBox} instead."}},"name":"setBounds","id":"method-setBounds"},{"tagname":"method","owner":"Ext.Base","meta":{"chainable":true,"private":true},"name":"setConfig","id":"method-setConfig"},{"tagname":"method","owner":"Ext.dom.Element","meta":{"chainable":true},"name":"setDisplayed","id":"method-setDisplayed"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{"chainable":true},"name":"setHTML","id":"method-setHTML"},{"tagname":"method","owner":"Ext.dom.Layer","meta":{},"name":"setHeight","id":"method-setHeight"},{"tagname":"method","owner":"Ext.dom.Element","meta":{"private":true},"name":"setHorizontal","id":"method-setHorizontal"},{"tagname":"method","owner":"Ext.dom.Layer","meta":{"chainable":true,"deprecated":{"text":""}},"name":"setLeft","id":"method-setLeft"},{"tagname":"method","owner":"Ext.dom.Layer","meta":{"deprecated":{"text":""}},"name":"setLeftTop","id":"method-setLeftTop"},{"tagname":"method","owner":"Ext.dom.Layer","meta":{"private":true},"name":"setLocalX","id":"method-setLocalX"},{"tagname":"method","owner":"Ext.dom.Layer","meta":{"private":true},"name":"setLocalXY","id":"method-setLocalXY"},{"tagname":"method","owner":"Ext.dom.Layer","meta":{"private":true},"name":"setLocalY","id":"method-setLocalY"},{"tagname":"method","owner":"Ext.dom.Element","meta":{"chainable":true,"deprecated":{"text":"Use {@link #setXY} instead."}},"name":"setLocation","id":"method-setLocation"},{"tagname":"method","owner":"Ext.dom.Element","meta":{"chainable":true},"name":"setOpacity","id":"method-setOpacity"},{"tagname":"method","owner":"Ext.dom.Element","meta":{"chainable":true},"name":"setPositioning","id":"method-setPositioning"},{"tagname":"method","owner":"Ext.dom.Element","meta":{"chainable":true,"deprecated":{"text":""}},"name":"setRight","id":"method-setRight"},{"tagname":"method","owner":"Ext.dom.Element","meta":{"chainable":true},"name":"setScrollLeft","id":"method-setScrollLeft"},{"tagname":"method","owner":"Ext.dom.Element","meta":{"chainable":true},"name":"setScrollTop","id":"method-setScrollTop"},{"tagname":"method","owner":"Ext.dom.Layer","meta":{},"name":"setSize","id":"method-setSize"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{},"name":"setStyle","id":"method-setStyle"},{"tagname":"method","owner":"Ext.dom.Layer","meta":{"chainable":true,"deprecated":{"text":""}},"name":"setTop","id":"method-setTop"},{"tagname":"method","owner":"Ext.dom.Element","meta":{"private":true},"name":"setVertical","id":"method-setVertical"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{"chainable":true},"name":"setVisibilityMode","id":"method-setVisibilityMode"},{"tagname":"method","owner":"Ext.dom.Layer","meta":{},"name":"setVisible","id":"method-setVisible"},{"tagname":"method","owner":"Ext.dom.Layer","meta":{},"name":"setWidth","id":"method-setWidth"},{"tagname":"method","owner":"Ext.dom.Layer","meta":{"chainable":true,"private":true},"name":"setX","id":"method-setX"},{"tagname":"method","owner":"Ext.dom.Layer","meta":{"private":true},"name":"setXY","id":"method-setXY"},{"tagname":"method","owner":"Ext.dom.Layer","meta":{"chainable":true,"private":true},"name":"setY","id":"method-setY"},{"tagname":"method","owner":"Ext.dom.Layer","meta":{},"name":"setZIndex","id":"method-setZIndex"},{"tagname":"method","owner":"Ext.dom.Element","meta":{"chainable":true,"deprecated":{"text":"Just use {@link #animate} instead.","version":"4.0"}},"name":"shift","id":"method-shift"},{"tagname":"method","owner":"Ext.dom.Element","meta":{"chainable":true},"name":"show","id":"method-show"},{"tagname":"method","owner":"Ext.dom.Element","meta":{},"name":"slideIn","id":"method-slideIn"},{"tagname":"method","owner":"Ext.dom.Element","meta":{},"name":"slideOut","id":"method-slideOut"},{"tagname":"method","owner":"Ext.Base","meta":{"protected":true},"name":"statics","id":"method-statics"},{"tagname":"method","owner":"Ext.dom.Element","meta":{"chainable":true},"name":"swallowEvent","id":"method-swallowEvent"},{"tagname":"method","owner":"Ext.dom.Element","meta":{},"name":"switchOff","id":"method-switchOff"},{"tagname":"method","owner":"Ext.dom.Layer","meta":{"private":true},"name":"sync","id":"method-sync"},{"tagname":"method","owner":"Ext.dom.Element","meta":{"private":true},"name":"syncContent","id":"method-syncContent"},{"tagname":"method","owner":"Ext.dom.Element","meta":{"chainable":true},"name":"toggle","id":"method-toggle"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{},"name":"toggleCls","id":"method-toggleCls"},{"tagname":"method","owner":"Ext.dom.Element","meta":{"private":true},"name":"translatePoints","id":"method-translatePoints"},{"tagname":"method","owner":"Ext.dom.Element","meta":{"private":true},"name":"translateXY","id":"method-translateXY"},{"tagname":"method","owner":"Ext.dom.Element","meta":{"chainable":true},"name":"un","id":"method-un"},{"tagname":"method","owner":"Ext.dom.Element","meta":{"chainable":true},"name":"unclip","id":"method-unclip"},{"tagname":"method","owner":"Ext.dom.Element","meta":{},"name":"unmask","id":"method-unmask"},{"tagname":"method","owner":"Ext.dom.Element","meta":{"chainable":true},"name":"unselectable","id":"method-unselectable"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{},"name":"up","id":"method-up"},{"tagname":"method","owner":"Ext.dom.Element","meta":{"chainable":true},"name":"update","id":"method-update"},{"tagname":"method","owner":"Ext.dom.AbstractElement","meta":{},"name":"wrap","id":"method-wrap"}],"event":[{"tagname":"event","owner":"Ext.dom.Element","meta":{},"name":"DOMActivate","id":"event-DOMActivate"},{"tagname":"event","owner":"Ext.dom.Element","meta":{},"name":"DOMAttrModified","id":"event-DOMAttrModified"},{"tagname":"event","owner":"Ext.dom.Element","meta":{},"name":"DOMCharacterDataModified","id":"event-DOMCharacterDataModified"},{"tagname":"event","owner":"Ext.dom.Element","meta":{},"name":"DOMFocusIn","id":"event-DOMFocusIn"},{"tagname":"event","owner":"Ext.dom.Element","meta":{},"name":"DOMFocusOut","id":"event-DOMFocusOut"},{"tagname":"event","owner":"Ext.dom.Element","meta":{},"name":"DOMNodeInserted","id":"event-DOMNodeInserted"},{"tagname":"event","owner":"Ext.dom.Element","meta":{},"name":"DOMNodeInsertedIntoDocument","id":"event-DOMNodeInsertedIntoDocument"},{"tagname":"event","owner":"Ext.dom.Element","meta":{},"name":"DOMNodeRemoved","id":"event-DOMNodeRemoved"},{"tagname":"event","owner":"Ext.dom.Element","meta":{},"name":"DOMNodeRemovedFromDocument","id":"event-DOMNodeRemovedFromDocument"},{"tagname":"event","owner":"Ext.dom.Element","meta":{},"name":"DOMSubtreeModified","id":"event-DOMSubtreeModified"},{"tagname":"event","owner":"Ext.dom.Element","meta":{},"name":"abort","id":"event-abort"},{"tagname":"event","owner":"Ext.dom.Element","meta":{},"name":"blur","id":"event-blur"},{"tagname":"event","owner":"Ext.dom.Element","meta":{},"name":"change","id":"event-change"},{"tagname":"event","owner":"Ext.dom.Element","meta":{},"name":"click","id":"event-click"},{"tagname":"event","owner":"Ext.dom.Element","meta":{},"name":"contextmenu","id":"event-contextmenu"},{"tagname":"event","owner":"Ext.dom.Element","meta":{},"name":"dblclick","id":"event-dblclick"},{"tagname":"event","owner":"Ext.dom.Element","meta":{},"name":"error","id":"event-error"},{"tagname":"event","owner":"Ext.dom.Element","meta":{},"name":"focus","id":"event-focus"},{"tagname":"event","owner":"Ext.dom.Element","meta":{},"name":"keydown","id":"event-keydown"},{"tagname":"event","owner":"Ext.dom.Element","meta":{},"name":"keypress","id":"event-keypress"},{"tagname":"event","owner":"Ext.dom.Element","meta":{},"name":"keyup","id":"event-keyup"},{"tagname":"event","owner":"Ext.dom.Element","meta":{},"name":"load","id":"event-load"},{"tagname":"event","owner":"Ext.dom.Element","meta":{},"name":"mousedown","id":"event-mousedown"},{"tagname":"event","owner":"Ext.dom.Element","meta":{},"name":"mouseenter","id":"event-mouseenter"},{"tagname":"event","owner":"Ext.dom.Element","meta":{},"name":"mouseleave","id":"event-mouseleave"},{"tagname":"event","owner":"Ext.dom.Element","meta":{},"name":"mousemove","id":"event-mousemove"},{"tagname":"event","owner":"Ext.dom.Element","meta":{},"name":"mouseout","id":"event-mouseout"},{"tagname":"event","owner":"Ext.dom.Element","meta":{},"name":"mouseover","id":"event-mouseover"},{"tagname":"event","owner":"Ext.dom.Element","meta":{},"name":"mouseup","id":"event-mouseup"},{"tagname":"event","owner":"Ext.dom.Element","meta":{},"name":"reset","id":"event-reset"},{"tagname":"event","owner":"Ext.dom.Element","meta":{},"name":"resize","id":"event-resize"},{"tagname":"event","owner":"Ext.dom.Element","meta":{},"name":"scroll","id":"event-scroll"},{"tagname":"event","owner":"Ext.dom.Element","meta":{},"name":"select","id":"event-select"},{"tagname":"event","owner":"Ext.dom.Element","meta":{},"name":"submit","id":"event-submit"},{"tagname":"event","owner":"Ext.dom.Element","meta":{},"name":"unload","id":"event-unload"}],"css_mixin":[]},"inheritable":null,"private":null,"component":false,"name":"Ext.dom.Layer","singleton":false,"override":null,"inheritdoc":null,"id":"class-Ext.dom.Layer","mixins":[],"mixedInto":[]});