ItemContainer.swipeBehavior property

Applies to Windows only

Gets or sets how the ItemContainer reacts to the swipe gesture. The swipe gesture can select the swiped items or can have no effect on the current selection.

Syntax


<div 
    data-win-control="WinJS.UI.ItemContainer" 
    data-win-options="{ swipeBehavior : value}" >
</div>


var swipeBehavior = itemContainer.swipeBehavior;
itemContainer.swipeBehavior = swipeBehavior;

Property value

Type: WinJS.UI.SwipeBehavior

One of the values defined by the WinJS.UI.SwipeBehavior enumeration. The default value is SwipeBehavior.select.

Requirements

Minimum supported client

Windows 8.1 [Windows Store apps only]

Minimum supported server

Windows Server 2012 R2 [Windows Store apps only]

Minimum supported phone

None supported

Namespace

WinJS.UI

Library

Ui.js

See also

ItemContainer

 

 

Show:
© 2014 Microsoft