HoopsMarkupItemElement
-
class
wvc.HoopsMarkupItemElement() Renders one selectable markup item with icon and toolbar content.
Examples
<hoops-markup-item markupId="markup-1" selected> Label <hoops-icon slot="icon"></hoops-icon> </hoops-markup-item>
Custom Element
hoops-markup-itemAttributes
markupId
Unique markup identifierselected
Indicates whether the item is selectedSlots
- Slot for markup text label content
icon
Slot for the markup type icontoolbar
Slot for trailing markup actionsEvents
hoops-select-markup
Emitted when the markup item is selectedCSS Properties
–hoops-foreground
Foreground color for row and separators–hoops-accent-foreground
Accent color used on hover and selected statesSince
2025.7.0
Constructors
-
wvc.HoopsMarkupItemElement.constructor() - HoopsMarkupItemElement():
HoopsMarkupItemElementReturns:
HoopsMarkupItemElement
Properties
-
wvc.HoopsMarkupItemElement.markupId - markupId: string
-
wvc.HoopsMarkupItemElement.selected - selected: boolean