Native Swipe Widget

Content Type: Widget
Categories: Mobile

Overview

This Native Swipe widget lets you execute an action on left or right swipe.

Documentation

Description

A widget in which you can drop content that you would like to swipe in order to trigger an action.

Typical usage scenario

Use this widget when you want to swipe to new content, when the number of following content is unknown. In other words, when a tab container won't work for switching between pages or the list view swipe widget also doesn't cut it. The content you place inside this widget can detect left and right swiping, which can trigger an action (such as a nanoflow call or a show page action)

Features and limitations

Content inside the dropzone can be swiped. Tip: use flexMain class to be able to swipe larger area. 

Limitation/known issue: When you put a list view inside the widget, the scroll behavior for that list doesn't work well on iOS. The problem does not occur with Android, however. 

Configuration

  • Install the widget
  • Place the widget on your page
  • Drop content inside the widget. If you want to be able to swipe a larger area, wrap the content in a container and assign the class flexMain to the container
  • Set actions for the left/right swipe action

Releases

Version: 1.0.0
Framework Version: 8.17.0
Release Notes: First version, simple widget that executes an action which can be configured on left or right swipe in a native app.