WheelSpinOptions
pixi-wheels / index / WheelSpinOptions
Interface: WheelSpinOptions
Defined in: core/Wheel.ts:24
Options for wheel.spin(): a ring to spin plus the per-spin options.
Extends#
Properties#
| Property | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|
direction? | SpinDirection | Override the ring’s spin direction for this spin only. | SpinOptions.direction | config/types.ts:358 |
resultTimeoutMs? | number | Reject the spin promise if no result arrives within this many ms of the cruise beginning. Off by default: a wheel waits for its server. | SpinOptions.resultTimeoutMs | config/types.ts:363 |
ring? | string | Which ring. Default the main ring. | - | core/Wheel.ts:26 |