다음을 통해 공유


Toolbar.data property

Gets or sets a List of Command objects to display.

Syntax

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

Property value

Type: WinJS.Binding.List**

A List of Command objects to display. (You may also use AppBarCommand objects.)

Requirements

Minimum WinJS version

WinJS 4.0

Namespace

WinJS.UI

See also

Toolbar