Represents a navigation command in a NavBarContainer.
Creates a new NavBarCommand.
The DOM element hosts the new NavBarCommand.
An object that contains one or more property/value pairs to apply to the new control. Each property of the options object corresponds to one of the control's properties or events.
Gets the HTML element that hosts this NavBarCommand.
Gets or sets the command's icon.
Gets or sets the label of the command.
Get or sets the location to navigate to when this command is invoked.
Gets or sets a value that specifies whether to show the split tab stop.
Gets a value that indicates whether the splitButton is open.
Gets or sets a user-defined object that represents the state associated with the command's location.
Gets or sets the tooltip of the command.
Registers an event handler for the specified event.
The name of the event to handle. Note that you drop the "on" when specifying the event name. For example, instead of specifying "onclick", you specify "click".
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.
Raises an event of the specified type and with additional properties.
The type (name) of the event.
The set of additional properties to be attached to the event object when the event is raised.
boolean
true if preventDefault was called on the event, otherwise false.
Releases resources held by this NavBarCommand. Call this method when the NavBarCommand is no longer needed. After calling this method, the NavBarCommand becomes unusable.
Removes an event handler that the addEventListener method registered.
The name of the event that the event handler is registered for.
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.