Button
An interactive button component for triggering actions with extensive customization options. Supports various styling configurations, icon placement, tooltip integration, and flexible layout controls. Ideal for creating responsive and visually appealing user interface interactions across different application contexts.
Extends: baseComponent
Fields
Name | Code | Data Type | Description |
|---|---|---|---|
Label |
| multi-locale | The text displayed on the button (supports multilingual labels) |
Resource ID |
| text | Unique identifier for the button component |
Style Classes |
| text | Additional CSS classes to customize button appearance |
Width Class |
| text | Controls the width of the button using predefined CSS classes |
Inline Style |
| text | Custom inline CSS styles to apply directly to the button |
Visibility |
| boolean | Controls whether the button is displayed or hidden |
Enabled |
| boolean | Determines if the button is interactive or disabled |
Color |
| text | Sets the color theme of the button |
Icon |
| text | Icon to display before the button label |
Right Icon |
| text | Icon to display after the button label |
Size |
| text | Sets the size of the button component |
Flat |
| boolean | Removes button background when enabled |
Dense |
| boolean | Reduces button padding for compact display |
Outline |
| boolean | Shows button with outlined style |
Round |
| boolean | Makes the button completely circular |
Rounded |
| boolean | Adds rounded corners to the button |
No Caps |
| boolean | Prevents automatic text capitalization |
Show Tooltip |
| boolean | Enables tooltip display on hover |
Tooltip Style Classes |
| text | CSS classes for styling the tooltip |
Tooltip Value |
| text | Text content displayed in the tooltip |
Alignment |
| text | Sets content alignment within the button (center, left, right, between, around, evenly) |
Methods
Name | Description |
|---|---|
| Manages the button click event, triggering associated actions |
| Retrieves the button's label, supporting multilingual configurations |
Events
Name | Description |
|---|---|
| Triggered when the button is clicked, executing the associated action |