Represents a command to be displayed in an app bar.
Creates a new AppBarCommand object.
The DOM element that will host the control.
The set of properties and values to apply to the new AppBarCommand.
Gets or sets a value that indicates whether the AppBarCommand is disabled.
Gets the DOM element that hosts the AppBarCommand.
Adds an extra CSS class during construction.
Gets or sets the HTMLElement with a 'content' type AppBarCommand that should receive focus whenever focus moves by the user pressing HOME or the arrow keys, from the previous AppBarCommand to this AppBarCommand.
Gets or sets the Flyout object displayed by this command. The specified flyout is shown when the AppBarCommand's button is invoked.
Gets or sets a value that indicates whether the AppBarCommand is hiding or in the process of becoming hidden.
Gets or sets the icon of the AppBarCommand.
Gets the element identifier (ID) of the command.
Gets or sets the label of the command.
Gets or sets the HTMLElement with a 'content' type AppBarCommand that should receive focus whenever focus moves by the user pressing END or the arrow keys, from the previous AppBarCommand to this AppBarCommand.
Gets or sets the function to be invoked when the command is clicked.
Gets the section of the app bar that the command is in.
Gets or sets the selected state of a toggle button.
Gets or sets the tooltip of the command.
Gets the type of the command.
Registers an event handler for the specified event.
The event type to register.
The event handler function to associate with the event.
Set to true to register the event handler for the capturing phase; otherwise, set to false to register the event handler for the bubbling phase.
Releases resources held by this AppBarCommand. Call this method when the AppBarCommand is no longer needed. After calling this method, the AppBarCommand becomes unusable.
Removes an event handler that the addEventListener method registered.
The event type to unregister. It must be beforeshow, beforehide, aftershow, or afterhide.
The event handler function to remove.
Set to true to remove the capturing phase event handler; set to false to remove the bubbling phase event handler.