Поделиться через


Command.flyout property

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

Syntax

<button 
  data-win-control="WinJS.UI.Command"
  data-win-options="{
    type:'flyout',
    flyout: value}">
</button>
var flyout = command.flyout;
command.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 4.0

Namespace

WinJS.UI

See also

Command