Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the orientation of swipe gestures.
Syntax
<div
data-win-control="WinJS.UI.ItemContainer"
data-win-options="{ swipeOrientation : value}" >
</div>
var swipeOrientation = itemContainer.swipeOrientation;
itemContainer.swipeOrientation = swipeOrientation;
Property value
Type: ****
One of the values defined by the WinJS.UI.Orientation enumeration. The default value is WinJS.UI.Orientation.vertical.
Value | Condition |
---|---|
WinJS.UI.Orientation.horizontal | Swipe gestures are performed horizontally. |
WinJS.UI.Orientation.vertical | Swipe gestures are performed vertically. |
Requirements
Minimum WinJS version |
WinJS 3.0 |
Namespace |
WinJS.UI |