mirror of
https://github.com/konvajs/konva.git
synced 2025-04-05 20:48:28 +08:00
more event methods
This commit is contained in:
parent
f8ccd574cb
commit
e97f3a4138
@ -380,6 +380,12 @@
|
||||
}
|
||||
return this;
|
||||
},
|
||||
dispatchEvent: function(evt) {
|
||||
this.fire(evt.type, evt);
|
||||
},
|
||||
addEventListener: function() {
|
||||
this.on.apply(this, arguments);
|
||||
},
|
||||
/**
|
||||
* remove self from parent, but don't destroy
|
||||
* @method
|
||||
|
Loading…
Reference in New Issue
Block a user