PR pixi-reels

WinPresenterOptions

pixi-reels


pixi-reels / index / WinPresenterOptions

Interface: WinPresenterOptions

Defined in: wins/WinPresenter.ts:23

Properties

PropertyTypeDescriptionDefined in
cycleGap?numberDelay between successive wins in the sequence (ms). Default 400.wins/WinPresenter.ts:43
cycles?numberNumber of full cycles through the wins list. -1 for infinite. Default 1.wins/WinPresenter.ts:45
dimLosers?| boolean | { alpha?: number; }Fade non-winning symbols to this alpha while a win is active. - true (default) → alpha 0.35 - number → that alpha - false → don’t touch non-winners Restored on win:end.wins/WinPresenter.ts:32
sortByValue?booleanSort wins by value descending before cycling. Default true.wins/WinPresenter.ts:47
stagger?numberDelay between cells within a single win (ms). - 0 (default) → all cells animate simultaneously - > 0 → cells start one after another in array order (e.g. a left-to-right sweep across a payline’s cells)wins/WinPresenter.ts:41
symbolAnim?WinSymbolAnimSee WinSymbolAnim. Default 'win'.wins/WinPresenter.ts:34