2 * @class Ext.fx.target.CompositeElement
3 * @extends Ext.fx.target.Element
5 * This class represents a animation target for a {@link Ext.CompositeElement}. It allows
6 * each {@link Ext.core.Element} in the group to be animated as a whole. In general this class will not be
7 * created directly, the {@link Ext.CompositeElement} will be passed to the animation and
8 * and the appropriate target will be created.
10 Ext.define('Ext.fx.target.CompositeElement', {
12 /* Begin Definitions */
14 extend: 'Ext.fx.target.Element',
20 constructor: function(target) {
21 target.id = target.id || Ext.id(null, 'ext-composite-');
22 this.callParent([target]);
25 getAttr: function(attr, val) {
28 target.each(function(el) {
29 out.push([el, this.getElVal(el, attr, val)]);