Partager via


ToolBar.opened property

Gets or sets whether the ToolBar is currently opened.

Syntax

<div data-win-control="WinJS.UI.ToolBar" data-win-options="{ opened : value}" ></div>
var opened = toolBar.opened;
toolBar.opened = opened;

Property value

Type: boolean

The opened property is true if the ToolBar is opened and false if it is closed.

Requirements

Minimum WinJS version

WinJS 4.0

Namespace

WinJS.UI

See also

ToolBar