mirror of
https://github.com/konvajs/konva.git
synced 2025-09-23 12:43:42 +08:00
all methods are now copied to Collection prototype so that you don't have to use the each() method all the time
This commit is contained in:
@@ -154,6 +154,8 @@
|
||||
|
||||
Kinetic.Util.extend(Kinetic.Label, Kinetic.Group);
|
||||
|
||||
Kinetic.Collection.mapMethods(Kinetic.Label);
|
||||
|
||||
/**
|
||||
* Tag constructor. A Tag can be configured
|
||||
* to have a pointer element that points up, right, down, or left
|
||||
@@ -291,4 +293,6 @@
|
||||
* @method
|
||||
* @memberof Kinetic.Tag.prototype
|
||||
*/
|
||||
|
||||
Kinetic.Collection.mapMethods(Kinetic.Tag);
|
||||
})();
|
||||
|
Reference in New Issue
Block a user