OdometerState
import type { OdometerState } from 'pixi-silk/ui/odometer';
The reactive state of an Odometer.
Properties#
| Property | Type | Description | Defined in |
|---|---|---|---|
counting | Signal<boolean> | True while counting. | ui/odometer.ts:92 |
shown | Signal<number> | Value on display, as it counts. | ui/odometer.ts:90 |
value | Signal<number> | Target value. Writing it counts towards it. | ui/odometer.ts:88 |