mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-30 17:14:57 +05:00
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 );
|
||
|
};
|