SplitViewPaneToggle constructor
Collapse the table of content
Expand the table of content

WinJS.UI.SplitViewPaneToggle constructor

Applies to Windows and Windows Phone

Creates a new SplitViewPaneToggle.

Syntax


var splitViewPaneToggle = new WinJS.UI.SplitViewPaneToggle(element, options);

Parameters

element

Type: HTMLElement

The DOM element hosts the new SplitViewPaneToggle.

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.

Requirements

Minimum WinJS version

WinJS 4.0

Namespace

WinJS.UI

See also

SplitViewPaneToggle
SplitView

 

 

Show:
© 2017 Microsoft