Properties Methods Events Direct Link

Class Ext.CompositeElementLite

Package:Ext
Defined In:CompositeElementLite.js, CompositeElementLite-more.js
Class:CompositeElementLite
Subclasses:CompositeElement
Extends:Object
Flyweight composite class. Reuses the same Ext.Element for element operations.
var els = Ext.select("#some-el div.some-class");
 // or select directly from an existing element

 var el = Ext.get('some-el');
 el.select('div.some-class');

 els.setWidth(100); // all elements become 100 width

 els.hide(true); // all elements fade out and hide

 // or

 els.setWidth(100).hide(true);


NOTE: Although they are not listed, this class supports all of the set/update methods of Ext.Element. All Ext.Element actions will be performed on all the elements in this collection.

Public Properties

This class has no public properties.

Public Methods

MethodDefined By

Public Events

This class has no public events.