Override onDoubleClick to call internal method
JokerMartini opened this issue · comments
How can i call an internal method of the instance when overriding the 'onDoubleClick' event?
panZoomObj = panzoom(this.sceneEl, {
smoothScroll: false,
zoomDoubleClickSpeed: 1,
onDoubleClick: function(e) {
panZoomObj.moveTo(0, 0);
panZoomObj.zoomAbs(0, 0, 1);
return false;
}
});