Framework7 - Swipeout



Description

The swipeout allows you to reveal hidden menu actions by swiping over the list elements. Swipeout is an extension of list view.

Swipeout Classes

The following table shows the list of classes used in swipeout

S.No Class & Description
1

swipeout-content

It is the wrapper for your list element. It will move when you swipe over the list item.

2

swipeout-actions-left

It is the container consisting of left swipeout action buttons/links.

3

swipeout-actions-right

It is the container consisting of right swipeout action buttons/links.

4

swipeout-close

It is an additional class on swipeout link. It is used to close swipeout element whenever you click this link.

The swipeout-content and swipeout-actions-left/right should be direct children of <li>

Swipeout Types

The following table shows the swipeout types used in Framework7 −

S.No Type & Description
1 Swipeout Basic

A basic swipeout contains swipeout-content wrapper and action buttons/links.

2 Swipe To Delete

To delete the swipeout action buttons, you can use swipeout-delete class.

3 Overswipe

The overswipe actions will be automatically triggered when you swipe actions too much.

4 Swipeout JavaScript API

To control the swipeout elements, swipeout provide you with JavaScript API.

5 Swipeout events

To detect how a user interacts with the swipeout, you can use swipeout events.

framework7_list_views.htm
Advertisements