Name | Description | Default | Control |
---|---|---|---|
decimalPlaces | Calculates decimal. number | - | |
delay | Time in milliseconds to delay the start of the number scroll. number | 0 | |
fallback | Provide a default value to display if to is ever undefined. number | 0 | |
from | Provide the starting number before number scroll animation. number | 0 | |
toLocaleStringProps | Provide options for converting number to a localized string (such as currency). [string, any] | - | |
renderFrequency | Instead of a timeout, specify the exact number of milliseconds between each scroll. number | - | |
step | Customize the increment amount between each scroll. number | 1 | |
timeout | How long it should take for the number to reach its 'to' value. number | 1000 | |
to | The value that it should scroll to. number | 0 |