svelte-gestures
Advanced tools
Changelog
1.3.1
Removing move listener when user leave active element.
When the move capture on active element is lost, activeEvents
are set to [] and up
event is triggered.
Changelog
1.3.0
Added press
gesture.
Gestures press
, tap
, swipe
, pan
now also emit target:EventTarget
in the event detail.
Changelog
1.1.0
Core lib function setPointerControls
now accept argument, by which one can manually set touch-action
css property. It is not used in swipe recogniser.
Changelog
1.0.6
pointerup
added back alongside lostpointercapture
so mouse clicks are handled correctly.