HoopsButton
-
class
ui.button.HoopsButton() A customizable button component with icon support and multiple styling options.
Provides a flexible button implementation with configurable colors, sizes, and accessibility features. Supports keyboard navigation and can be disabled when needed.
Constructors
-
ui.button.HoopsButton.constructor() - HoopsButton():
HoopsButtonReturns:
HoopsButton
Properties
-
ui.button.HoopsButton.color - color: (“default” | “accent”)
Color variant of the button.
-
ui.button.HoopsButton.disabled - disabled: boolean
Whether the button is disabled and non-interactive.
-
ui.button.HoopsButton.iconSize - iconSize: string
Size of the icon displayed in the button.
-
ui.button.HoopsButton.role - role: string
ARIA role for accessibility.
-
ui.button.HoopsButton.tabindex - tabindex: string
Tab order index for keyboard navigation.