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 |
|
See also
Build date: 12/5/2012