Freigeben über


AppBarCommand.flyout property

Gets or sets a Flyout object that is displayed when the AppBarCommand is invoked.

Syntax

<button 
  data-win-control="WinJS.UI.AppBarCommand"
  data-win-options="{
    type:'flyout',
    flyout: value}">
</button>
var flyout = appBarCommand.flyout;
appBarCommand.flyout = flyout;

Property value

Type: Flyout**

The Flyout associated with this command. This is valid only when the command type is "flyout".

Requirements

Minimum WinJS version

WinJS 1.0

Namespace

WinJS.UI

See also

AppBarCommand

AppBarCommand.type

AppBar

AppBarIcon

BackButton

NavBar

WinJS.UI.Flyout

Your first app - Part 3: PageControl objects and navigation

Navigating between pages (HTML)

Adding app bars

Adding nav bars

HTML AppBar control sample

HTML NavBar control sample

Navigation and navigation history sample

Designers

Command patterns

Navigation patterns

Guidelines for app bars

Bottom app bar

Top app bar