Button
Last updated
Was this helpful?
Last updated
Was this helpful?
(part of package '') Extends designtime/SolutionModel: Extends runtime:
A simple button. It can contain text as well as (optionally) an icon before or after the text.
This is a reference page; many components have detailed usage guides .
Whether the component is enabled or not; blocks onAction, onDoubleClick, onRightClick events. Type: Default Value: true
For buttons showing as plain text, you can also specify an image styleclass to be displayed to the left. Can be font awesome icons. Type:
Option whether button text is shown as plain text, sanitized html or trusted html (as is). Type:
Button style class, typically one of the bootstrap button classes (e.g. 'btn btn-primary') Type: Default Value: "btn btn-default"
Fired when the button is clicked
Parameters:
Fired when the button is double clicked
Parameters:
Fired when the button is right clicked
Parameters:
Set the focus to this button.
Example:
Tab sequence index of the form Type:
The text shown for the button (i18n is supported) Type:
Tooltip text shown when hovering over the button (i18n is supported) Type:
An icon style class property (glyphicon, material design or Font Awesome). Example 'fas fa-search' If you want to use Font Awesome classes you need to enable the Font Awesome service from the Servoy Package Manager. Type:
Sets the variant of this button, this sets a certain set of styleclasses at runtime for which this variant is configured for Type:
Whether the button is visible or not Type:
{} event The event object containing details about the click event (e.g., target element, mouse coordinates).
{} event * @param {JSEvent} event The event object containing details about the double-click event (e.g., target element, click timing).
{} event The event object containing details about the right-click event (e.g., target element, context menu trigger).