Raynos / dom-delegator

Decorate elements with delegated events
MIT License
58 stars 16 forks source link

Touch event support #5

Closed jxson closed 9 years ago

jxson commented 9 years ago

I recently worked on a project that needed touch events and found the lack of them in mercury a bit tough. Specifically the touchstart event is a must since it is the entry point for any custom event handling that might need to happen (similar to the geometry example where the custom drag-handler was added via ev-mousedown).

Other events to consider would be:

Raynos commented 9 years ago

you can delegator.listenTo('touchstart') to add it to the whitelist.

The thing missing here is more obvouis documentation

jxson commented 9 years ago

fixed in PR #6