Component State
class ComponentState(name: String, hardFallback: ComponentState?, facetsOn: Array<ComponentStateFacet>?, facetsOff: Array<ComponentStateFacet>?)
Content copied to clipboard
Constructors
ComponentState
Link copied to clipboard
fun ComponentState(name: String, facetsOn: Array<ComponentStateFacet>?, facetsOff: Array<ComponentStateFacet>?)
Content copied to clipboard
Creates a new component state.
Types
Functions
best Fit
Link copied to clipboard
is Facet Active
Link copied to clipboard
Returns indication whether this component state is "active" under the specified facet. For example, .RolloverSelected will return true for both ComponentStateFacet.Rollover and ComponentStateFacet.Selection.
Properties
hardFallback
Link copied to clipboard
isDisabled
Link copied to clipboard
Checks whether this state is disabled. A disabled state has ComponentStateFacet.Enable facet in its off set.