isFacetActive

fun isFacetActive(stateFacet: ComponentStateFacet): Boolean

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.

Return

true if this component state is "active" under the specified facet (for example, .RolloverSelected will return true for both ComponentStateFacet.Rollover and ComponentStateFacet.Selection), false otherwise.

Parameters

stateFacet

State facet.