Swipe CDK

Examples Setup

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