shownDisplayMode property

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:

ValueCondition
"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.

The reduced display mode.
"full"

Display all content, including primary and secondary commands.

The full display mode.

 

Requirements

Minimum WinJS version

WinJS 4.0

Namespace

WinJS.UI

See also

Toolbar

 

 

Show:
© 2017 Microsoft