Constructors
Button() Button(String text, Action action) Button(String text, String icon) Button(String text, String icon, Action onClick) Button(String text, String icon, String className, Action onClick) Properties
| Name | Type | Description |
|---|---|---|
Href | String | The target link, if set |
Value virtual | Object | Used for selection status in things like ButtonGroup |
HoverMenu | RenderFragment | More button options underneath the main button content. |
Disabled | Boolean | The button is disabled for some reason |
Active | Boolean | Allow external factors to force the active state |
Text | String | Text for the button. |
Help | String | Help for the button. |
Icon | String | Icon for the button. |
Methods
Void DeleteText() Deletes the Text.
Void DeleteIcon() Deletes the Icon.
virtual Void SetText(String text) Set the text for the button. Calls Text = value
Void Click() Imitate the button being clicked.
virtual Void SetProperty(String name, String value) virtual Void SetContent(String value) virtual Void Tick()