You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At present when you attempt to add an event handler for a pointer event, it is not registered correctly, since it is not recognised as a native event:
myElement.addEvent('pointerdown', myFunc); // myFunc is never called on pointer down
I intend to implement this myself, which will pave the way for adding pointer support to mootools.more => Drag and Drag.Move, which I also hope to implement.
So far I've just made sure that it's recognised as a native event in Element.Event.js and ensured that the page/client objects are passed through in DOMEvent.js. Is there anything else that I should be considering?
I noticed that DOMEvent acts as some kind of meta-event or decorator. Should I be setting tilt/pressure etc as properties directly, or can people simply access it via the native event i.e. the DOMEvent.event property?
http://caniuse.com/#feat=pointer
http://www.w3.org/TR/pointerevents/
At present when you attempt to add an event handler for a pointer event, it is not registered correctly, since it is not recognised as a native event:
I intend to implement this myself, which will pave the way for adding pointer support to mootools.more => Drag and Drag.Move, which I also hope to implement.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: