Class: ItemSwipe

WinJSContrib.UI. ItemSwipe

enable cross swipe on list items to trigger actions by swiping item

new ItemSwipe(element, options)

Parameters:
Name Type Description
element HTMLElement

DOM element containing the control

options Object
Source:

Members

item

data item

Source:

minSwipe :string

minimum swipe distance for accepting action

Type:
  • string
Source:

thresholdFactor :string

minimum swipe distance (expressed as a proportion like 2 for 50%) to element size for accepting action

Type:
  • string
Source: