value(value)
Class: Spinner.
Description:
Sets or gets a value displayed in the Spinner component. This method returns number, Date and string types for value depending on the type of the Spinner. To set and get only string value you should use .text() method.
Parameters:
| Name | Type | Description |
|---|---|---|
|
|
number | string | Date |
New value to set. For date/time accepted value types are |
Returns:
If called without arguments, a current value is returned, otherwise this component instance is returned for chaining.
Type: Spinner | number | Date | string
