Dela via


AppBar.data property

Gets or sets a List of Command objects to display.

Syntax

<div 
  data-win-control="WinJS.UI.Appbar" 
  data-win-options="{ data : value}">
</div>
var data = appBar.data;
appBar.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

AppBar