Ext.data.JsonP.Ext_dom_AbstractElement({"mixins":[],"code_type":"nop","inheritable":false,"component":false,"meta":{"private":true},"mixedInto":[],"uses":[],"aliases":{},"parentMixins":[],"superclasses":["Ext.Base"],"members":{"event":[],"property":[{"meta":{"private":true},"owner":"Ext.Base","tagname":"property","name":"$className","id":"property-S-className"},{"meta":{"private":true},"owner":"Ext.Base","tagname":"property","name":"configMap","id":"property-configMap"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"property","name":"defaultUnit","id":"property-defaultUnit"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"property","name":"dom","id":"property-dom"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"property","name":"id","id":"property-id"},{"meta":{"private":true},"owner":"Ext.Base","tagname":"property","name":"initConfigList","id":"property-initConfigList"},{"meta":{"private":true},"owner":"Ext.Base","tagname":"property","name":"initConfigMap","id":"property-initConfigMap"},{"meta":{"private":true},"owner":"Ext.Base","tagname":"property","name":"isInstance","id":"property-isInstance"},{"meta":{"protected":true},"owner":"Ext.Base","tagname":"property","name":"self","id":"property-self"},{"meta":{"private":true},"owner":"Ext.dom.AbstractElement","tagname":"property","name":"styleHooks","id":"property-styleHooks"}],"css_var":[],"method":[{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"addCls","id":"method-addCls"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"appendChild","id":"method-appendChild"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"appendTo","id":"method-appendTo"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"applyStyles","id":"method-applyStyles"},{"meta":{"deprecated":{"text":"as of 4.1. Use {@link #callParent} instead."},"protected":true},"owner":"Ext.Base","tagname":"method","name":"callOverridden","id":"method-callOverridden"},{"meta":{"protected":true},"owner":"Ext.Base","tagname":"method","name":"callParent","id":"method-callParent"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"child","id":"method-child"},{"meta":{"private":true},"owner":"Ext.Base","tagname":"method","name":"configClass","id":"method-configClass"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"contains","id":"method-contains"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"createChild","id":"method-createChild"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"destroy","id":"method-destroy"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"down","id":"method-down"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"findParent","id":"method-findParent"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"findParentNode","id":"method-findParentNode"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"first","id":"method-first"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"getActiveElement","id":"method-getActiveElement"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"getAlignToXY","id":"method-getAlignToXY"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"getAnchorXY","id":"method-getAnchorXY"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"getAttribute","id":"method-getAttribute"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"getBorderWidth","id":"method-getBorderWidth"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"getBottom","id":"method-getBottom"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"getBox","id":"method-getBox"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"getById","id":"method-getById"},{"meta":{"private":true},"owner":"Ext.Base","tagname":"method","name":"getConfig","id":"method-getConfig"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"getHTML","id":"method-getHTML"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"getHeight","id":"method-getHeight"},{"meta":{},"owner":"Ext.Base","tagname":"method","name":"getInitialConfig","id":"method-getInitialConfig"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"getLeft","id":"method-getLeft"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"getMargin","id":"method-getMargin"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"getOffsetsTo","id":"method-getOffsetsTo"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"getPadding","id":"method-getPadding"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"getPageBox","id":"method-getPageBox"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"getRight","id":"method-getRight"},{"meta":{"private":true},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"getRightMarginFixCleaner","id":"method-getRightMarginFixCleaner"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"getSize","id":"method-getSize"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"getStyle","id":"method-getStyle"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"getTop","id":"method-getTop"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"getValue","id":"method-getValue"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"getViewSize","id":"method-getViewSize"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"getWidth","id":"method-getWidth"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"getX","id":"method-getX"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"getXY","id":"method-getXY"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"getY","id":"method-getY"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"hasCls","id":"method-hasCls"},{"meta":{"private":true},"owner":"Ext.Base","tagname":"method","name":"hasConfig","id":"method-hasConfig"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"hide","id":"method-hide"},{"meta":{"protected":true},"owner":"Ext.Base","tagname":"method","name":"initConfig","id":"method-initConfig"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"insertAfter","id":"method-insertAfter"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"insertBefore","id":"method-insertBefore"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"insertFirst","id":"method-insertFirst"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"insertHtml","id":"method-insertHtml"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"insertSibling","id":"method-insertSibling"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"is","id":"method-is"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"isStyle","id":"method-isStyle"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"isTransparent","id":"method-isTransparent"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"last","id":"method-last"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"mask","id":"method-mask"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"next","id":"method-next"},{"meta":{"private":true},"owner":"Ext.Base","tagname":"method","name":"onConfigUpdate","id":"method-onConfigUpdate"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"parent","id":"method-parent"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"populateStyleMap","id":"method-populateStyleMap"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"prev","id":"method-prev"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"query","id":"method-query"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"radioCls","id":"method-radioCls"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"remove","id":"method-remove"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"removeCls","id":"method-removeCls"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"repaint","id":"method-repaint"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"replace","id":"method-replace"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"replaceCls","id":"method-replaceCls"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"replaceWith","id":"method-replaceWith"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"select","id":"method-select"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"serializeForm","id":"method-serializeForm"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"set","id":"method-set"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"setBottom","id":"method-setBottom"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"setBox","id":"method-setBox"},{"meta":{"private":true},"owner":"Ext.Base","tagname":"method","name":"setConfig","id":"method-setConfig"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"setHTML","id":"method-setHTML"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"setHeight","id":"method-setHeight"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"setLeft","id":"method-setLeft"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"setRight","id":"method-setRight"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"setSize","id":"method-setSize"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"setStyle","id":"method-setStyle"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"setTop","id":"method-setTop"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"setVisibilityMode","id":"method-setVisibilityMode"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"setVisible","id":"method-setVisible"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"setWidth","id":"method-setWidth"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"setX","id":"method-setX"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"setXY","id":"method-setXY"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"setY","id":"method-setY"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"show","id":"method-show"},{"meta":{"protected":true},"owner":"Ext.Base","tagname":"method","name":"statics","id":"method-statics"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"toggleCls","id":"method-toggleCls"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"translatePoints","id":"method-translatePoints"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"unmask","id":"method-unmask"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"up","id":"method-up"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"update","id":"method-update"},{"meta":{},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"wrap","id":"method-wrap"}],"css_mixin":[],"cfg":[]},"tagname":"class","extends":"Ext.Base","private":true,"html":"

Hierarchy

Ext.Base
Ext.dom.AbstractElement

Subclasses

Files

NOTE This is a private utility class for internal use by the framework. Don't rely on its existence.

\n

Properties

Defined By

Instance Properties

...
\n

Defaults to: "Ext.Base"

...
\n

Defaults to: {}

Ext.dom.AbstractElement
view source
: String
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

Defaults to: "px"

Ext.dom.AbstractElement
view source
dom : HTMLElement

The DOM element

\n

The DOM element

\n
Ext.dom.AbstractElement
view source
id : String

The DOM element ID

\n

The DOM element ID

\n
...
\n

Defaults to: []

...
\n

Defaults to: {}

...
\n

Defaults to: true

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
Ext.dom.AbstractElement
view source
: Objectprivate
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

Defaults to: {}

Defined By

Static Properties

...
\n

Defaults to: []

Ext.dom.AbstractElement
view source
: Numberstatic
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

Ext.dom.AbstractElement
view source
: Numberstatic
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

Ext.dom.AbstractElement
view source
: Numberstatic
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

Ext.dom.AbstractElement
view source
: Numberstatic
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

Methods

Defined By

Instance Methods

Ext.dom.AbstractElement
view source
( String/String[] className ) : Ext.dom.Element
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

Parameters

  • className : String/String[]

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

    \n

Returns

Appends the passed element(s) to this element ...

Appends the passed element(s) to this element

\n

Parameters

Returns

Appends this element to the passed element ...

Appends this element to the passed element

\n

Parameters

Returns

Ext.dom.AbstractElement
view source
( String/Object/Function styles ) : Ext.dom.Element
More flexible version of setStyle for setting style properties. ...

More flexible version of setStyle for setting style properties.

\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

( Array/Arguments 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
( Array/Arguments args ) : Objectprotected
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

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
Ext.dom.AbstractElement
view source
( String selector, [Boolean 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

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

Ext.dom.AbstractElement
view source
( HTMLElement/String el ) : Boolean
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.AbstractElement
view source
( Object config, [HTMLElement insertBefore], [Boolean returnDom] ) : Ext.dom.AbstractElement
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

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

Ext.dom.AbstractElement
view source
( )
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.AbstractElement
view source
( String selector, [Boolean 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

Parameters

Returns

Ext.dom.AbstractElement
view source
( String selector, [Number/String/HTMLElement/Ext.Element limit], [Boolean 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

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
Ext.dom.AbstractElement
view source
( String selector, [Number/String/HTMLElement/Ext.Element limit], [Boolean 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

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
Ext.dom.AbstractElement
view source
( [String selector], [Boolean returnDom] ) : Ext.dom.Element/HTMLElement
Gets the first child, skipping text nodes ...

Gets the first child, skipping text nodes

\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

Ext.dom.AbstractElement
view source
( ) : HTMLElement
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

Returns

  • HTMLElement

    The active (focused) element in the document.

    \n
Ext.dom.AbstractElement
view source
( Ext.Element/HTMLElement/String element, [String position], [Array offsets] ) : Array
Gets the x,y coordinates to align this element with another element. ...

Gets the x,y coordinates to align this element with another element. See Ext.dom.Element.alignTo for more info on the\nsupported position values.

\n

Parameters

  • element : Ext.Element/HTMLElement/String

    The element to align to.

    \n
  • position : String (optional)

    The position to align to.

    \n

    Defaults to: "tl-bl?"

  • offsets : Array (optional)

    Offset the positioning by [x, y]

    \n

    Defaults to: [0, 0]

Returns

Ext.dom.AbstractElement
view source
( [String anchor], [Boolean local], [Object size] ) : Array
Gets the x,y coordinates specified by the anchor position on the element. ...

Gets the x,y coordinates specified by the anchor position on the element.

\n

Parameters

  • anchor : String (optional)

    The specified anchor position (defaults to \"c\"). See Ext.dom.Element.alignTo\nfor details on supported anchor positions.

    \n
  • local : Boolean (optional)

    True to get the local (element top/left-relative) anchor position instead\nof page coordinates

    \n
  • size : Object (optional)

    An object containing the size to use for calculating anchor position\n{width: (target width), height: (target height)} (defaults to the element's current size)

    \n

Returns

  • Array

    [x, y] An array containing the element's x and y coordinates

    \n
Ext.dom.AbstractElement
view source
( String name, [String namespace] ) : String
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

Ext.dom.AbstractElement
view source
( String side ) : Number
Gets the width of the border(s) for the specified side(s) ...

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

\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
Ext.dom.AbstractElement
view source
( Boolean local ) : Number
Gets the bottom Y coordinate of the element (element Y position + element height) ...

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

\n

Parameters

  • local : Boolean

    True to get the local css position instead of page coordinate

    \n

Returns

Ext.dom.AbstractElement
view source
( [Boolean contentBox], [Boolean local] ) : Object
Return an object defining the area of this Element which can be passed to setBox to\nset another Element's size/locati...

Return an object defining the area of this Element which can be passed to setBox to\nset another Element's size/location to match this element.

\n

Parameters

  • contentBox : Boolean (optional)

    If true a box for the content of the element is returned.

    \n
  • local : Boolean (optional)

    If true the element's left and top are returned instead of page x/y.

    \n

Returns

  • Object

    box An object in the format:

    \n\n
    {\n    x: <Element's X position>,\n    y: <Element's Y position>,\n    width: <Element's width>,\n    height: <Element's height>,\n    bottom: <Element's lower bound>,\n    right: <Element's rightmost bound>\n}\n
    \n\n

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

    \n
Ext.dom.AbstractElement
view source
( String id, [Boolean asDom] )
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

...
\n

Parameters

Ext.dom.AbstractElement
view source
( )
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
Ext.dom.AbstractElement
view source
( [Boolean contentHeight] ) : Number
Returns the offset height of the element ...

Returns the offset height of the element

\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
Ext.dom.AbstractElement
view source
( Boolean local ) : Number
Gets the left X coordinate ...

Gets the left X coordinate

\n

Parameters

  • local : Boolean

    True to get the local css position instead of page coordinate

    \n

Returns

Ext.dom.AbstractElement
view source
( [String sides] ) : Object/Number
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

Parameters

  • sides : String (optional)

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

    \n

Returns

Ext.dom.AbstractElement
view source
( Ext.Element/HTMLElement/String element ) : Array
Returns the offsets of this element from the passed element. ...

Returns the offsets of this element from the passed element. Both element must be part of the DOM\ntree and not have display:none to have page coordinates.

\n

Parameters

Returns

  • Array

    The XY page offsets (e.g. [100, -200])

    \n
Ext.dom.AbstractElement
view source
( String side ) : Number
Gets the width of the padding(s) for the specified side(s) ...

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

\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
Ext.dom.AbstractElement
view source
( [Boolean asRegion] ) : Object
Return an object defining the area of this Element which can be passed to setBox to\nset another Element's size/locati...

Return an object defining the area of this Element which can be passed to setBox to\nset another Element's size/location to match this element.

\n

Parameters

Returns

  • Object

    box An object in the 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 the X position\nand index 1 contains the Y position. So the result may also be used for setXY

    \n
Ext.dom.AbstractElement
view source
( Boolean local ) : Number
Gets the right X coordinate of the element (element X position + element width) ...

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

\n

Parameters

  • local : Boolean

    True to get the local css position instead of page coordinate

    \n

Returns

Ext.dom.AbstractElement
view source
( Ext.dom.Element target )private
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

Parameters

Ext.dom.AbstractElement
view source
( [Boolean contentSize] ) : Object
Returns the size of the element. ...

Returns the size of the element.

\n

Parameters

  • contentSize : Boolean (optional)

    true to get the width/size minus borders and padding

    \n

Returns

Ext.dom.AbstractElement
view source
( String/String[] property, [Boolean inline] ) : String/Object
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

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
Ext.dom.AbstractElement
view source
( Boolean local ) : Number
Gets the top Y coordinate ...

Gets the top Y coordinate

\n

Parameters

  • local : Boolean

    True to get the local css position instead of page coordinate

    \n

Returns

Ext.dom.AbstractElement
view source
( Boolean asNumber ) : String/Number
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

Ext.dom.AbstractElement
view source
( ) : Object
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

Returns

Ext.dom.AbstractElement
view source
( [Boolean contentWidth] ) : Number
Returns the offset width of the element ...

Returns the offset width of the element

\n

Parameters

  • contentWidth : Boolean (optional)

    true to get the width minus borders and padding

    \n

Returns

Ext.dom.AbstractElement
view source
( Object el ) : Number
Gets the current X position of the element based on page coordinates. ...

Gets the current X position of the element based on page coordinates. Element must be part of the DOM\ntree to have page coordinates (display:none or elements not appended return false).

\n

Parameters

Returns

  • Number

    The X position of the element

    \n
Ext.dom.AbstractElement
view source
( ) : Array
Gets the current position of the element based on page coordinates. ...

Gets the current position of the element based on page coordinates. Element must be part of the DOM\ntree to have page coordinates (display:none or elements not appended return false).

\n

Returns

  • Array

    The XY position of the element

    \n
Ext.dom.AbstractElement
view source
( Object el ) : Number
Gets the current Y position of the element based on page coordinates. ...

Gets the current Y position of the element based on page coordinates. Element must be part of the DOM\ntree to have page coordinates (display:none or elements not appended return false).

\n

Parameters

Returns

  • Number

    The Y position of the element

    \n
Ext.dom.AbstractElement
view source
( String className ) : Boolean
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

Parameters

  • className : String

    The CSS class to check for

    \n

Returns

  • Boolean

    True if the class exists, else false

    \n
...
\n

Parameters

Ext.dom.AbstractElement
view source
( [Boolean/Object animate] ) : Ext.Element
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

Parameters

  • animate : Boolean/Object (optional)

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

    \n

Returns

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

Inserts this element after the passed element in the DOM ...

Inserts this element after the passed element in the DOM

\n

Parameters

Returns

Inserts this element before the passed element in the DOM ...

Inserts this element before the passed element in the DOM

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

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

\n

Parameters

Returns

Ext.dom.AbstractElement
view source
( String where, String html, [Boolean returnEl] ) : HTMLElement/Ext.dom.AbstractElement
Inserts an html fragment into this element ...

Inserts an html fragment into this element

\n

Parameters

Returns

Ext.dom.AbstractElement
view source
( String/HTMLElement/Ext.dom.AbstractElement/Object/Array el, [String where], [Boolean returnDom] ) : Ext.dom.AbstractElement
Inserts (or creates) the passed element (or DomHelper config) as a sibling of this element ...

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

\n

Parameters

Returns

Ext.dom.AbstractElement
view source
( String selector ) : Boolean
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
Ext.dom.AbstractElement
view source
( String style, String value ) : Boolean
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

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
Ext.dom.AbstractElement
view source
( String prop ) : Boolean
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

Parameters

  • prop : String

    The style property whose value is to be tested.

    \n

Returns

  • Boolean

    True if the style property is visually transparent.

    \n
Ext.dom.AbstractElement
view source
( [String selector], [Boolean returnDom] ) : Ext.dom.Element/HTMLElement
Gets the last child, skipping text nodes ...

Gets the last child, skipping text nodes

\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

Ext.dom.AbstractElement
view source
( [String msg], [String msgCls] )
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
Ext.dom.AbstractElement
view source
( [String selector], [Boolean returnDom] ) : Ext.dom.Element/HTMLElement
Gets the next sibling, skipping text nodes ...

Gets the next sibling, skipping text nodes

\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

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

Parameters

Ext.dom.AbstractElement
view source
( [String selector], [Boolean returnDom] ) : Ext.dom.Element/HTMLElement
Gets the parent node for this element, optionally chaining up trying to match a selector ...

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

\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

Ext.dom.AbstractElement
view source
( Object map, Object order )
Creates mappings for 'margin-before' to 'marginLeft' (etc.) given the output\nmap and an ordering pair (e.g., ['left',...

Creates mappings for 'margin-before' to 'marginLeft' (etc.) given the output\nmap and an ordering pair (e.g., ['left', 'right']). The ordering pair is in\nbefore/after order.

\n

Parameters

Ext.dom.AbstractElement
view source
( [String selector], [Boolean returnDom] ) : Ext.dom.Element/HTMLElement
Gets the previous sibling, skipping text nodes ...

Gets the previous sibling, skipping text nodes

\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

Ext.dom.AbstractElement
view source
( String 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

Parameters

  • selector : String

    The CSS selector

    \n

Returns

  • HTMLElement[]

    An array of the matched nodes

    \n
Ext.dom.AbstractElement
view source
( String/String[] className ) : Ext.dom.Element
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

Parameters

  • className : String/String[]

    The CSS class to add, or an array of classes

    \n

Returns

Ext.dom.AbstractElement
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
Ext.dom.AbstractElement
view source
( String/String[] className ) : Ext.dom.Element
Removes one or more CSS classes from the element. ...

Removes one or more CSS classes from the element.

\n

Parameters

  • className : String/String[]

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

    \n

Returns

Ext.dom.AbstractElement
view source
( ) : Ext.dom.Element
Forces the browser to repaint this element ...

Forces the browser to repaint this element

\n

Returns

Replaces the passed element with this element ...

Replaces the passed element with this element

\n

Parameters

Returns

Ext.dom.AbstractElement
view source
( String oldClassName, String newClassName ) : Ext.dom.Element
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

Parameters

  • oldClassName : String

    The CSS class to replace

    \n
  • newClassName : String

    The replacement CSS class

    \n

Returns

Replaces this element with the passed element ...

Replaces this element with the passed element

\n

Parameters

Returns

Ext.dom.AbstractElement
view source
( String selector, [Boolean unique] ) : Ext.CompositeElement
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

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

Ext.dom.AbstractElement
view source
( Object form ) : String
Serializes a DOM form into a url encoded string ...

Serializes a DOM form into a url encoded string

\n

Parameters

Returns

Ext.dom.AbstractElement
view source
( Object o, [Boolean useSet] ) : Ext.dom.Element
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

Ext.dom.AbstractElement
view source
( String bottom ) : Ext.dom.AbstractElement
Sets the element's CSS bottom style. ...

Sets the element's CSS bottom style.

\n

Parameters

  • bottom : String

    The bottom CSS property value

    \n

Returns

Ext.dom.AbstractElement
view source
( Object box, [Boolean adjust], [Boolean/Object animate] ) : Ext.dom.AbstractElement
Sets the element's box. ...

Sets the element's box. Use getBox() on another element to get a box obj.\nIf animate is true then width, height, x and y will be animated concurrently.

\n

Parameters

  • box : Object

    The box to fill {x, y, width, height}

    \n
  • adjust : Boolean (optional)

    Whether to adjust for box-model issues automatically

    \n
  • animate : Boolean/Object (optional)

    true for the default animation or a standard\nElement animation config object

    \n

Returns

( Object config, Object applyIfNotSet )private
...
\n

Parameters

Ext.dom.AbstractElement
view source
( String html ) : Ext.Element
Set the innerHTML of this element ...

Set the innerHTML of this element

\n

Parameters

Returns

Ext.dom.AbstractElement
view source
( Number/String height, [Boolean/Object animate] ) : Ext.dom.Element
Set the height of this Element. ...

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

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
  • animate : Boolean/Object (optional)

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

    \n

Returns

Ext.dom.AbstractElement
view source
( String left ) : Ext.dom.AbstractElement
Sets the element's left position directly using CSS style (instead of setX). ...

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

\n

Parameters

  • left : String

    The left CSS property value

    \n

Returns

Ext.dom.AbstractElement
view source
( String right ) : Ext.dom.AbstractElement
Sets the element's CSS right style. ...

Sets the element's CSS right style.

\n

Parameters

  • right : String

    The right CSS property value

    \n

Returns

Ext.dom.AbstractElement
view source
( Number/String width, Number/String height, [Boolean/Object animate] ) : Ext.dom.Element
Set the size of this Element. ...

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

\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
  • animate : Boolean/Object (optional)

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

    \n

Returns

Ext.dom.AbstractElement
view source
( String/Object property, [String value] ) : Ext.dom.Element
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

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.AbstractElement
view source
( String top ) : Ext.dom.AbstractElement
Sets the element's top position directly using CSS style (instead of setY). ...

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

\n

Parameters

  • top : String

    The top CSS property value

    \n

Returns

Ext.dom.AbstractElement
view source
( Object mode )
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

Ext.dom.AbstractElement
view source
( Boolean visible, [Boolean/Object animate] ) : Ext.Element
Sets the visibility of the element (see details). ...

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

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

Ext.dom.AbstractElement
view source
( Number/String width, [Boolean/Object animate] ) : Ext.dom.Element
Set the width of this Element. ...

Set the width of this Element.

\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
  • animate : Boolean/Object (optional)

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

    \n

Returns

Ext.dom.AbstractElement
view source
( Number The, [Boolean/Object animate] ) : Ext.dom.AbstractElement
Sets the X position of the element based on page coordinates. ...

Sets the X position of the element based on page coordinates. Element must be part of the DOM tree\nto have page coordinates (display:none or elements not appended return false).

\n

Parameters

  • The : Number

    X position of the element

    \n
  • animate : Boolean/Object (optional)

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

    \n

Returns

Ext.dom.AbstractElement
view source
( Array pos, [Boolean/Object animate] ) : Ext.dom.AbstractElement
Sets the position of the element in page coordinates, regardless of how the element is positioned. ...

Sets the position of the element in page coordinates, regardless of how the element is positioned.\nThe element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).

\n

Parameters

  • pos : Array

    Contains X & Y [x, y] values for new position (coordinates are page-based)

    \n
  • animate : Boolean/Object (optional)

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

    \n

Returns

Ext.dom.AbstractElement
view source
( Number The, [Boolean/Object animate] ) : Ext.dom.AbstractElement
Sets the Y position of the element based on page coordinates. ...

Sets the Y position of the element based on page coordinates. Element must be part of the DOM tree\nto have page coordinates (display:none or elements not appended return false).

\n

Parameters

  • The : Number

    Y position of the element

    \n
  • animate : Boolean/Object (optional)

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

    \n

Returns

Ext.dom.AbstractElement
view source
( [Boolean/Object animate] ) : Ext.Element
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

Parameters

  • animate : Boolean/Object (optional)

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

    \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

Ext.dom.AbstractElement
view source
( String className ) : Ext.dom.Element
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

Parameters

  • className : String

    The CSS class to toggle

    \n

Returns

Ext.dom.AbstractElement
view source
( Number/Array x, [Number y] ) : Object
Translates the passed page coordinates into left/top css values for this element ...

Translates the passed page coordinates into left/top css values for this element

\n

Parameters

  • x : Number/Array

    The page x or an array containing [x, y]

    \n
  • y : Number (optional)

    The page y, required if x is not an array

    \n

Returns

  • Object

    An object with left and top properties. e.g. {left: (value), top: (value)}

    \n
Ext.dom.AbstractElement
view source
( )
Removes a previously applied mask. ...

Removes a previously applied mask.

\n
Ext.dom.AbstractElement
view source
( String selector, [Number/String/HTMLElement/Ext.Element limit] ) : 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

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

Returns

  • Ext.Element

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

    \n
Ext.dom.AbstractElement
view source
( String html ) : Ext.dom.Element
Update the innerHTML of this element ...

Update the innerHTML of this element

\n

Parameters

Returns

Ext.dom.AbstractElement
view source
( [Object config], [Boolean returnDom], [String selector] ) : HTMLElement/Ext.dom.AbstractElement
Creates and wraps this element with another element ...

Creates and wraps this element with another element

\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

( Object config )privatestatic
...
\n

Parameters

...
\n

Parameters

( Object name, Object member )privatestatic
...
\n

Parameters

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

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

Ext.dom.AbstractElement
view source
( Object size, Object 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

Parameters

  • size : Object

    {Object} The size to set

    \n
  • units : Object

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

    \n
( Object xtype )privatestatic
...
\n

Parameters

( Ext.Base fromClass, Array/String members ) : Ext.Baseprivatestatic
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

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

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

( Object config )privatestatic
...
\n

Parameters

Ext.dom.AbstractElement
view source
( String/HTMLElement dom, [String named] ) : Ext.dom.AbstractElement.Flystatic
Gets the singleton flyweight element, with the passed node as the active element. ...

Gets the singleton flyweight element, with the passed node as the active element.

\n\n

Because it is a singleton, this Flyweight does not have an ID, and must be used and discarded in a single line.\nYou may not keep and use the reference to this singleton over multiple lines because methods that you call\nmay themselves make use of Ext.fly and may change the DOM element to which the instance refers.

\n\n

Ext.fly is alias for fly.

\n\n

Use this to make one-time references to DOM elements which are not going to be accessed again either by\napplication code, or by Ext's classes. If accessing an element which will be processed regularly, then Ext.get will be more appropriate to take advantage of the caching provided by the Ext.dom.Element\nclass.

\n

Parameters

  • dom : String/HTMLElement

    The dom node or id

    \n
  • named : String (optional)

    Allows for creation of named reusable flyweights to prevent conflicts (e.g.\ninternally Ext uses \"_global\")

    \n

Returns

Ext.dom.AbstractElement
view source
( Number x, Number y ) : Stringstatic
Returns the top Element that is located at the passed coordinates ...

Returns the top Element that is located at the passed coordinates

\n

Parameters

Returns

Ext.dom.AbstractElement
view source
( String/HTMLElement/Ext.Element el ) : Ext.dom.Elementstatic
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

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
Ext.dom.AbstractElement
view source
( ) : Numberstatic
Retrieves the document height ...

Retrieves the document height

\n

Returns

Ext.dom.AbstractElement
view source
( ) : Numberstatic
Retrieves the document width ...

Retrieves the document width

\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

Ext.dom.AbstractElement
view source
( ) : Stringstatic
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

Returns

  • String

    Orientation of window: 'portrait' or 'landscape'

    \n
Ext.dom.AbstractElement
view source
( ) : Objectstatic
Retrieves the viewport size of the window. ...

Retrieves the viewport size of the window.

\n

Returns

  • Object

    object containing width and height properties

    \n
Ext.dom.AbstractElement
view source
( ) : Numberstatic
Retrieves the viewport height of the window. ...

Retrieves the viewport height of the window.

\n

Returns

Ext.dom.AbstractElement
view source
( ) : Numberstatic
Retrieves the viewport width of the window. ...

Retrieves the viewport width of the window.

\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
Ext.dom.AbstractElement
view source
( Object p, Object c )privatestatic
...
\n

Parameters

Ext.dom.AbstractElement
view source
( Mixed clsList1, Mixed clsList2 ) : Arraystatic
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

\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\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
( Object name, Object mixinClass )privatestatic
Used internally by the mixins pre-processor ...

Used internally by the mixins pre-processor

\n

Parameters

Ext.dom.AbstractElement
view source
( String prop ) : Stringstatic
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

Parameters

  • prop : String

    The property to normalize

    \n

Returns

( Object fn, Object scope )privatestatic
...
\n

Parameters

( Object members ) : Ext.Basedeprecatedstatic
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

Ext.dom.AbstractElement
view source
( Number/String box ) : Objectstatic
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

Parameters

Returns

  • Object

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

    \n
Ext.dom.AbstractElement
view source
( String styles ) : Objectstatic
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

Parameters

Returns

Ext.dom.AbstractElement
view source
( Mixed existingClsList, Mixed 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

\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\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
Ext.dom.AbstractElement
view source
( Number/String box, String units ) : Stringstatic
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

Parameters

Returns

  • String

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

    \n
","subclasses":["Ext.dom.AbstractElement.Fly","Ext.dom.Element"],"name":"Ext.dom.AbstractElement","alternateClassNames":[],"inheritdoc":null,"files":[{"href":"AbstractElement.html#Ext-dom-AbstractElement","filename":"AbstractElement.js"},{"href":"AbstractElement.static.html#Ext-dom-AbstractElement","filename":"AbstractElement.static.js"},{"href":"AbstractElement.alignment.html#Ext-dom-AbstractElement","filename":"AbstractElement.alignment.js"},{"href":"AbstractElement.insertion.html#Ext-dom-AbstractElement","filename":"AbstractElement.insertion.js"},{"href":"AbstractElement.position.html#Ext-dom-AbstractElement","filename":"AbstractElement.position.js"},{"href":"AbstractElement.style.html#Ext-dom-AbstractElement","filename":"AbstractElement.style.js"},{"href":"AbstractElement.traversal.html#Ext-dom-AbstractElement","filename":"AbstractElement.traversal.js"}],"html_meta":{"private":null},"singleton":false,"id":"class-Ext.dom.AbstractElement","statics":{"property":[{"meta":{"static":true,"private":true},"owner":"Ext.Base","tagname":"property","name":"$onExtended","id":"static-property-S-onExtended"},{"meta":{"static":true},"owner":"Ext.dom.AbstractElement","tagname":"property","name":"ASCLASS","id":"static-property-ASCLASS"},{"meta":{"static":true},"owner":"Ext.dom.AbstractElement","tagname":"property","name":"DISPLAY","id":"static-property-DISPLAY"},{"meta":{"static":true},"owner":"Ext.dom.AbstractElement","tagname":"property","name":"OFFSETS","id":"static-property-OFFSETS"},{"meta":{"static":true},"owner":"Ext.dom.AbstractElement","tagname":"property","name":"VISIBILITY","id":"static-property-VISIBILITY"}],"event":[],"css_var":[],"method":[{"meta":{"static":true,"private":true},"owner":"Ext.Base","tagname":"method","name":"addConfig","id":"static-method-addConfig"},{"meta":{"static":true,"private":true},"owner":"Ext.Base","tagname":"method","name":"addInheritableStatics","id":"static-method-addInheritableStatics"},{"meta":{"static":true,"private":true},"owner":"Ext.Base","tagname":"method","name":"addMember","id":"static-method-addMember"},{"meta":{"static":true},"owner":"Ext.Base","tagname":"method","name":"addMembers","id":"static-method-addMembers"},{"meta":{"static":true},"owner":"Ext.Base","tagname":"method","name":"addStatics","id":"static-method-addStatics"},{"meta":{"static":true,"private":true},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"addUnits","id":"static-method-addUnits"},{"meta":{"static":true,"private":true},"owner":"Ext.Base","tagname":"method","name":"addXtype","id":"static-method-addXtype"},{"meta":{"private":true,"static":true},"owner":"Ext.Base","tagname":"method","name":"borrow","id":"static-method-borrow"},{"meta":{"static":true},"owner":"Ext.Base","tagname":"method","name":"create","id":"static-method-create"},{"meta":{"static":true},"owner":"Ext.Base","tagname":"method","name":"createAlias","id":"static-method-createAlias"},{"meta":{"static":true,"private":true},"owner":"Ext.Base","tagname":"method","name":"extend","id":"static-method-extend"},{"meta":{"static":true},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"fly","id":"static-method-fly"},{"meta":{"static":true},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"fromPoint","id":"static-method-fromPoint"},{"meta":{"static":true},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"get","id":"static-method-get"},{"meta":{"static":true},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"getDocumentHeight","id":"static-method-getDocumentHeight"},{"meta":{"static":true},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"getDocumentWidth","id":"static-method-getDocumentWidth"},{"meta":{"static":true},"owner":"Ext.Base","tagname":"method","name":"getName","id":"static-method-getName"},{"meta":{"static":true},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"getOrientation","id":"static-method-getOrientation"},{"meta":{"static":true},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"getViewSize","id":"static-method-getViewSize"},{"meta":{"static":true},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"getViewportHeight","id":"static-method-getViewportHeight"},{"meta":{"static":true},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"getViewportWidth","id":"static-method-getViewportWidth"},{"meta":{"deprecated":{"text":"Use {@link #addMembers} instead.","version":"4.1"},"static":true},"owner":"Ext.Base","tagname":"method","name":"implement","id":"static-method-implement"},{"meta":{"private":true,"static":true},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"isAncestor","id":"static-method-isAncestor"},{"meta":{"static":true},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"mergeClsList","id":"static-method-mergeClsList"},{"meta":{"static":true,"private":true},"owner":"Ext.Base","tagname":"method","name":"mixin","id":"static-method-mixin"},{"meta":{"static":true},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"normalize","id":"static-method-normalize"},{"meta":{"static":true,"private":true},"owner":"Ext.Base","tagname":"method","name":"onExtended","id":"static-method-onExtended"},{"meta":{"deprecated":{"text":"Use {@link Ext#define Ext.define} instead","version":"4.1.0"},"markdown":true,"static":true},"owner":"Ext.Base","tagname":"method","name":"override","id":"static-method-override"},{"meta":{"static":true},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"parseBox","id":"static-method-parseBox"},{"meta":{"static":true},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"parseStyles","id":"static-method-parseStyles"},{"meta":{"static":true},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"removeCls","id":"static-method-removeCls"},{"meta":{"static":true,"private":true},"owner":"Ext.Base","tagname":"method","name":"triggerExtended","id":"static-method-triggerExtended"},{"meta":{"static":true},"owner":"Ext.dom.AbstractElement","tagname":"method","name":"unitizeBox","id":"static-method-unitizeBox"}],"css_mixin":[],"cfg":[]},"requires":[]});