13 lines
340 B
JavaScript
13 lines
340 B
JavaScript
|
jvm.VMLGroupElement = function(){
|
||
|
jvm.VMLGroupElement.parentClass.call(this, 'group');
|
||
|
|
||
|
this.node.style.left = '0px';
|
||
|
this.node.style.top = '0px';
|
||
|
this.node.coordorigin = "0 0";
|
||
|
};
|
||
|
|
||
|
jvm.inherits(jvm.VMLGroupElement, jvm.VMLElement);
|
||
|
|
||
|
jvm.VMLGroupElement.prototype.add = function(element){
|
||
|
this.node.appendChild( element.node );
|
||
|
};
|