SplitView.openedDisplayMode property

Gets or sets how the SplitView displays the expanded pane.

Syntax

<div 
  data-win-control="WinJS.UI.SplitView" 
  data-win-options="{ openedDisplayMode : value}">
</div>
var openedDisplayMode = splitView.openedDisplayMode;
splitView.openedDisplayMode = openedDisplayMode;

Property value

Type: WinJS.UI.SplitView.OpenedDisplayMode**

One of the values of the WinJS.UI.SplitView.OpenedDisplayMode enumeration:

Value Condition
SplitView.OpenedDisplayMode.inline

The SplitView allocates layout space for the pane and displays it side-by-side with the content area.

SplitView.OpenedDisplayMode.overlay

The pane overlays the content area. The SplitView does not allocate layout space for the pane. This is the default value.

 

Remarks

This property replaces the shownDisplayMode static property.

Requirements

Minimum WinJS version

WinJS 4.0-Preview

Namespace

WinJS.UI

See also

SplitView