BaseButton
A barebones button component, like if Roblox had a "Button
" class rather than only a TextButton
.
Types
BaseButtonProps
interface
BaseButtonProps {
Disabled:
boolean?
--
Whether the button is disabled.
OnActivate:
(
(
)
→
(
)
)
?
--
Callback for when the button is activated.
OnHover:
(
(
)
→
(
)
)
?
--
Callback for when the button is hovered over.
OnHoverEnd:
(
(
)
→
(
)
)
?
--
Callback for when the hover ends.
OnHold:
(
(
)
→
(
)
)
?
--
Callback for when the button is held.
OnHoldEnd:
(
(
)
→
(
)
)
?
--
Callback for when the hold ends.
Hovering:
boolean?
--
Whether the button is currently being hovered over.
Holding:
boolean?
--
Whether the button is currently being held.
}