Swipe Actions
(Adding message template to the top of the page)
(Replacing message template with parser tag)
Line 1: Line 1:
{{message|Write the content here to display this box}}
<message>Write the content here to display this box</message>
===Swipe Action===
===Swipe Action===
To activate an action to trigger when the user swipes, add tagged values on the ViewModel class. The value should be the action name you want to execute. For different swipe actions, add:
To activate an action to trigger when the user swipes, add tagged values on the ViewModel class. The value should be the action name you want to execute. For different swipe actions, add:

Revision as of 07:57, 17 June 2024

This page was created by Stephanie@mdriven.net on 2023-05-24. Last edited by Edgar on 2025-01-20.

Swipe Action

To activate an action to trigger when the user swipes, add tagged values on the ViewModel class. The value should be the action name you want to execute. For different swipe actions, add:

  • Left-swipe: Tag SwipeLeft
  • Right-swipe: Tag SwipeLeft

Swipe both ways: Tag SwipeLeft and SwipeRight