Spinner
Last updated
Was this helpful?
Last updated
Was this helpful?
(part of package 'Servoy Extra Components') Extends designtime/SolutionModel: JSWebComponent Extends runtime: RuntimeWebComponent
A component that provides a spinner input for numeric values.
This is a reference page; many components have detailed usage guides here.
Bound data provider identifier for the spinner value. Type:
Indicates whether display tags are enabled. Type: Boolean
Indicates whether the spinner is editable. Type: Default Value: true
Indicates whether the spinner is enabled for user interaction. Type: Default Value: true
Minimum height of the spinner, set only in responsive forms. Type: Number Default Value: 30
Fired when the spinner action is triggered.
Parameters:
{JSEvent} event The event object containing details about the action event.
Fired when the spinner value changes.
Parameters:
{JSEvent} event The event object associated with the data change.
Returns: {Boolean}
Fired when the spinner gains focus.
Parameters:
{JSEvent} event The event object containing details about the focus gained event.
Fired when the spinner loses focus.
Parameters:
{JSEvent} event The event object containing details about the focus lost event.
Fired when the spinner is right-clicked.
Parameters:
{JSEvent} event The event object containing details about the right-click event.
Request the focus to this field.
Example:
Parameters:
{Boolean} [mustExecuteOnFocusGainedMethod] If false will not execute the onFocusGained method; the default value is true
Format string used to display and parse the spinner value. Type:
Placeholder text displayed when no value is present. Type:
Indicates whether the spinner is read-only. Type:
CSS style classes applied to the spinner component. Type:
Tab sequence order for keyboard navigation. Type:
The text displayed by the spinner. Type:
Tooltip text displayed when hovering over the spinner. Type:
Identifier for the value list used by the spinner. Type:
Indicates whether the spinner is visible. Type:
{} oldValue The previous value from the data provider.
{} newValue The new value to be set in the data provider.