OptionalcategoryOptionalconditionOptionaliconOptionalpluginThe ID of the plugin that created the object
OptionalvariationsStatic OptionalconstructingAdds a label to the HTML element of the bar item
Optionalin_bar: booleanSet to true to generate an in-bar label, as opposed to a regular on-hover label
Optionalaction: anyProvide the action to generate the label. This defaults to self and is only needed in special cases
Adds a label to the HTML element of the bar item
Optionalin_bar: booleanSet to true to generate an in-bar label, as opposed to a regular on-hover label
Optionalaction: anyProvide the action to generate the label. This defaults to self and is only needed in special cases
Gets a copy of the elements HTML node that is not yet in use.
Gets a copy of the elements HTML node that is not yet in use.
Adds an event listener to the item
The event type to listen for
Adds a single-use event listener to the item
The event type to listen for
Removes an event listener from the item
Appends the bar item to a HTML element
Appends the bar item to a HTML element
Anything that can go into a toolbar, including actions, tools, toggles, widgets etc.