AppBarCommand.type property

0 out of 4 rated this helpful - Rate this topic

Gets the type of the command.

The command can be one of the following types:

  • "button"
  • "toggle"
  • "flyout"
  • "separator"

Syntax


var type = appBarCommand.type;

Property value

Type: string

The type of the command.

Remarks

For an app bar toggle command to work with accessibility tools like Narrator, you must attach an onPropertyChange event handler by using the attachEvent method. You must use the detachEvent method to remove the event handler.

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Namespace

WinJS.UI

Library

Ui.js

See also

AppBarCommand

 

 

Build date: 12/5/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.