다음을 통해 공유


NavBar.ClosedDisplayMode property

[NavBar is no longer available for use as of Windows Library for JavaScript (WinJS) 4.2. Instead, use SplitViewCommand. ]

ClosedDisplayMode gets or sets how the app bar is displayed when opened is true.

Syntax

<div data-win-control="WinJS.UI.NavBar" data-win-options="{ ClosedDisplayMode : value}" />
var closedDisplayMode = navBar.closedDisplayMode;
navBar.closedDisplayMode = closedDisplayMode;

Property value

Type: ****

Display options for the actionarea when the NavBar is closed.

Value Condition
"none"

The NavBar is not initially displayed.

"minimal"

The NavBar is displayed with ellipsis only, no icons or labels.

"compact"

The NavBar is displayed with command icons only, no labels. This is the default value.

"full"

The NavBar is fully displayed.

 

Requirements

Minimum WinJS version

WinJS 4.0

Namespace

WinJS.UI

See also

NavBar