Partager via


Toolbar.extraClass property

[extraClass is no longer available for use as of Windows Library for JavaScript (WinJS) 4.0. ]

extraClass is no longer available. Gets or appends additional CSS classes to apply to the element that hosts the Toolbar.

Syntax

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

Property value

Type: String**

A String that contains one or more CSS classes to append to the element that hosts the Toolbar. When there are multiple class names, they are separated by one or more spaces.

Requirements

Minimum WinJS version

WinJS 4.0

Namespace

WinJS.UI

See also

Toolbar