FlipView.orientation property

Gets or sets the orientation of the FlipView, horizontal or vertical.

Syntax

<div data-win-control="WinJS.UI.FlipView" data-win-options="{ orientation : value}" ></div>
var orientation = flipView.orientation;
flipView.orientation = orientation;

Property value

Type: String

A string that specifies the FlipView object's layout. It accepts these values:

Value Condition
"horizontal"

A horizontal layout. This is the default value.

"vertical"

A vertical layout.

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.UI

See also

FlipView