API reference
BounceContext
pixi-reels / index / BounceContext
Defined in: spin/phases/ReelPhase.ts:17
What a custom bounce animation receives. See BounceOptions.animation.
Properties#
| Property | Type | Description | Defined in |
|---|---|---|---|
base | number | Where the container rests; return there. | spin/phases/ReelPhase.ts:25 |
container | Container | reel.container, the thing to move. | spin/phases/ReelPhase.ts:21 |
distance | number | Overshoot in px, already signed for the reel’s direction of travel. | spin/phases/ReelPhase.ts:27 |
ease | string | - | spin/phases/ReelPhase.ts:30 |
gsap | typeof gsap | - | spin/phases/ReelPhase.ts:19 |
main | "x" | "y" | The container property that is the travel axis. | spin/phases/ReelPhase.ts:23 |
reel | Reel | - | spin/phases/ReelPhase.ts:18 |
seconds | number | Total down-and-back time in seconds. | spin/phases/ReelPhase.ts:29 |