Compartir a través de


Toolbar.shownDisplayMode property

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

shownDisplayMode is no longer available. Gets or sets a value that specifies how to display overflow content.

Syntax

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

Property value

Type: ****

One of the following values:

Value Condition
"reduced"

Place overflowed and secondary commands in a temporarily hidden overflow area that can be displayed using a show more ("") button. This is the default setting.

"full"

Display all content, including primary and secondary commands.

 

Requirements

Minimum WinJS version

WinJS 4.0

Namespace

WinJS.UI

See also

Toolbar