QuantityProps Interface
Beta
Props for QuantityInput control
Extends
Methods
| Name |
Description |
|
| onQuantityChange(newQuantityValue: number): void |
Function to call in the quantity value is changed. |
|
Properties
| Name |
Type |
Description |
|
| initialValue |
number |
Initial magnitude in 'persistence' units. |
|
| quantityType |
QuantityTypeArg |
Type of quantity being input. |
|
| readonly |
undefined | boolean |
Set to true if value is for display only |
|
| ref |
undefined | Ref<HTMLInputElement> |
Provides ability to return reference to HTMLInputElement |
|
Inherited properties
Defined in
Last Updated:
30 November, 2023