WinJS.UI.SwipeBehavior enumeration

Specifies whether elements are selected when the user performs a swipe interaction.

Syntax

var WinJS.UI.SwipeBehavior = {
  select : "select", 
  none : "none"
}

Members

The SwipeBehavior enumeration has these members.

Member Value Description
select "select"

The swipe interaction selects the elements touched by the swipe.

none "none"

The swipe interaction does not change which elements are selected.

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.UI

See also

Quickstart: Adding a ListView

ListView.swipeBehavior