Open basecode opened 12 years ago
We could introduce a method on Groups that applies attributes on the children.
API could look like this new Group().attrAll({fillColor: 'red'}) and is basically a convenient wrapper for
new Group().attrAll({fillColor: 'red'})
this.children.forEach(f(child) { child.attr(attrs); })
We could introduce a method on Groups that applies attributes on the children.
API could look like this
new Group().attrAll({fillColor: 'red'})
and is basically a convenient wrapper for