ButtonStateClasses Class
ButtonStateClasses is a mixin that decorates the domElement of a component with different CSS classes based on the current state of the element.
To check for state, the component can expose the following methods:
Function
isActive to check the active stateFunction
isDisabled to check the disabled state
Index
Methods
Methods
getStateClasses
()
String
Returns the list of state classes associated to the current element's state, according to the results of the isActive and isDisabled methods.
Returns:
String:
A string with the state CSS classes.