pixi-wheels

WheelSpinOptions

pixi-wheels


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#

PropertyTypeDescriptionInherited fromDefined in
direction?SpinDirectionOverride the ring’s spin direction for this spin only.SpinOptions.directionconfig/types.ts:358
resultTimeoutMs?numberReject 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.resultTimeoutMsconfig/types.ts:363
ring?stringWhich ring. Default the main ring.-core/Wheel.ts:26