Whether to track the active state of the button.
Default Value: false
An object map of the CSS class names to use for the different interaction states.
Whether to apply the default interaction state to the button
Default Value: true
handler
- Function | Object
An event callback to handle when a user interacts with the button.
This can either be a function that will be attached on click, or
an object map that accepts the following keys:
{fn: // The function to execute
context: // The context to execute the function in
type: // The type of event to listen for (defaults to "click")
}
Default Value: false
Whether to track the hover interaction state of the button.
Default Value: true
icon
- String
The icon to use inside of the button. Possible values are:
DOM Node to display the icon of the ButtonItem. If not
specified try to query using HTML_PARSER an element inside
boundingBox which matches aui-button-icon
.
Default Value: Generated div element.
Text to use inside of the button.
DOM Node to display the text of the ButtonItem. If not
specified try to query using HTML_PARSER an element inside
boundingBox which matches aui-button-label
.
Default Value: Generated div element.
Text to use as the title attribute of the button.