ctrl+k
Enter a search term above to see results...
Enter a search term above to see results...
Number Helpers are methods available on ReactiveVar instances that contain numeric values. These helpers provide convenient ways to manipulate and update numeric reactive variables.
Increases the value of the ReactiveVar by a specified amount or by 1 if no amount is provided.
Name | Type | Description |
---|---|---|
amount | Number | (Optional) The amount to increment by. Defaults to 1 if not specified. |
Decreases the value of the ReactiveVar by a specified amount or by 1 if no amount is provided.
Name | Type | Description |
---|---|---|
amount | Number | (Optional) The amount to decrement by. Defaults to 1 if not specified. |