WinJS.UI.SplitView constructor

Creates a new SplitView.

Syntax

var splitView = new WinJS.UI.SplitView(element, options);

Parameters

  • element
    Type: Object

    The DOM element that hosts the SplitView.

  • options
    Type: Object

    An object that contains one or more property/value pairs to apply to the new control. Each property of the options object corresponds to one of the control's properties or events. Event names must begin with "on".

Requirements

Minimum WinJS version

WinJS 4.0

Namespace

WinJS.UI

See also

SplitView