Bagikan melalui


WinJS.UI.SplitViewCommand constructor

Creates a new SplitViewCommand object.

Syntax

var splitViewCommand = new WinJS.UI.SplitViewCommand(element, options);

Parameters

  • element
    Type: Object

    The DOM element hosts the new SplitViewCommand.

  • 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.2

Namespace

WinJS.UI

See also

SplitViewCommand

Designers

Command patterns

Navigation patterns