English
latest (v4.7.0)

Swipe CDK

Description and examples Setup Source code

tuiSwipe directive allows detecting swipes on mobile devices.

You can configure the directive with TUI_SWIPE_OPTIONS token.
Allowed options:

timeout:
max time between touchstart and touchend
threshold :
min distance between touchstart and touchend.

Basic

#
Swiped default

With sidebar

#
Swipe left to open