This package provides touchscreen event handling and gesture capability.
This package exposes the events listed below as part of Atom Services.
The Atom Service Provider API is used to provide versioned services of these events.
For more information about consuming these services in your package, read here: https://atom.io/docs/latest/behind-atom-interacting-with-packages-via-services.
To consume these events, add the following to your package.json (or the services you need):
"consumedServices": {"touch-events": {"versions": {"^0.21.0": "consumeTouchEvents"}}}
Then in your main package, implement your consumer function to use the service function:
consumeTouchEvents: (touchEvents) -># Subscribe to touch swipe left eventtouchEvents.onDidTouchSwipeLeft (event) ->console.log "Swiped left!"
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.