CommandButton
A button that combines a label and a command. It’s designed to present descriptive text alongside an actionable command or link. This type of button is useful for displaying informative text or explanations along with a clickable action, providing more context to users about the function the button performs.
local date = CommandButton(text)
Properties
- setOnClick(callback)
The function executed when the button is clicked
- setText(text)
Sets text on the button
- getText()
Returns text on the button
- setDescription()
Sets the a description. This appears as text beneath the primary text
- getDescription()
Returns the provided description