svelte-gestures
Advanced tools
Changelog
1.5.0
composedGesture
lets you combine gestures. You can even use it to maintain scrolling behavior on elements with pan
or shapeGesture
(see example below)shapeGesture
lets you define shape/s to be recognized. Just define shapes by coordinates.Changelog
1.4.1
Press gesture now accepts triggerBeforeFinished
option. By default, it is set false
. If set to true, press event is triggered after the given timeframe
, even if a user still keeps pressing.
Changelog
1.3.8
Documentation added for how to use JSX types (used by language tools to recognize return types of functions returned by svelte HTML markup (on:action etc))