다음을 통해 공유


WinJS.UI.FlipView constructor

Creates a new FlipView.

Syntax

var flipView = new WinJS.UI.FlipView(element, options);

Parameters

  • element
    Type: Object

    The DOM element that hosts the control.

  • options [optional]
    Type: Object

    An object that contains one or more property/value pairs to apply to the new control. Each property corresponds to one of the control's properties or events. Event names must begin with "on". For example, to provide a handler for the pageselected event, add a property named "onpageselected" and set its value to the event handler.

Requirements

Minimum WinJS version

WinJS 1.0

Namespace

WinJS.UI

See also

FlipView