Created
October 30, 2010 23:05
-
-
Save hvgotcodes/655847 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
contextMenu: function(evt) { | |
console.log('contextmenu'); | |
evt.stopPropagation(); | |
return YES; | |
// return this.handleRightClick(evt); | |
// return this.handleRightClick(evt); | |
}, | |
mouseDown: function(evt) { | |
console.log('mousedown'); | |
if (evt.which === 3){ | |
console.log('handling right click'); | |
return this.handleRightClick(evt); | |
} | |
return this.handleClickTouch(evt); | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment