Closed therebelrobot closed 9 years ago
uggg. just a sec. missed a console log.
Kk. This should be good to go now.
I think this one is going to conflict with the handleKeyDown callback, what if you want to provide different callbacks or only attach to one? IMO we should provide different options with clear names like opts.onMouseDown and opts.onKeyDown.
It didn't seem to cause any issues when I tested it, but it does make sense to separate out the onMouseDown and onKeyDown callbacks. I'll get that change in there.
Kk. Updated that now. Tested in our app, seems to be working.
Refer #5