add transform end event

This commit is contained in:
Anton Lavrenov
2018-01-03 11:38:34 +07:00
parent 2011553d1f
commit dc985c1a3c

View File

@@ -268,6 +268,8 @@
},
handleMouseUp: function() {
this.fire('transformend');
this._el.fire('transformend');
window.removeEventListener('mousemove', this.handleMouseMove);
window.removeEventListener('touchmove', this.handleMouseMove);
window.removeEventListener('mouseup', this.handleMouseUp);