interface Events<SingularType> {
    events: PropertyValue<SingularType, "yes" | "no">;
    text-events: PropertyValue<SingularType, "yes" | "no">;
}

Type Parameters

Properties

Properties

events: PropertyValue<SingularType, "yes" | "no">

Whether events should occur on an element (e.g.tap, mouseover, etc.).

  • For "no", the element receives no events and events simply pass through to the core/viewport.
text-events: PropertyValue<SingularType, "yes" | "no">

Whether events should occur on an element if the label receives an event. You may want a style applied to the text on active so you know the text is activatable.