mirror of
https://github.com/konvajs/konva.git
synced 2025-04-05 20:48:28 +08:00
evt.targetNode property for Hammer Event
This commit is contained in:
parent
faa3ef13cd
commit
3c508f96ab
@ -380,7 +380,9 @@
|
||||
}
|
||||
return this;
|
||||
},
|
||||
// some event aliases for third party integration like HammerJS
|
||||
dispatchEvent: function(evt) {
|
||||
evt.targetNode = this;
|
||||
this.fire(evt.type, evt);
|
||||
},
|
||||
addEventListener: function() {
|
||||
|
Loading…
Reference in New Issue
Block a user