captureEvents()
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#
| Parameter | Type |
|---|---|
wheel | Wheel |
names | keyof WheelEvents[] |