pixi-wheels

captureEvents()

pixi-wheels


pixi-wheels / testing / captureEvents

Function: captureEvents()

function captureEvents(wheel: Wheel, names: keyof WheelEvents[]): CapturedEvent[];

Defined in: testing/testHarness.ts:185

Record the named events in order. Returns the growing log.

Parameters#

ParameterType
wheelWheel
nameskeyof WheelEvents[]

Returns#

CapturedEvent[]