pixi-reels

BounceContext

pixi-reels


pixi-reels / index / BounceContext

Interface: BounceContext

Defined in: spin/phases/ReelPhase.ts:11

What a custom bounce animation receives. See BounceOptions.animation.

Properties#

PropertyTypeDescriptionDefined in
basenumberWhere the container rests; return there.spin/phases/ReelPhase.ts:19
containerContainerreel.container, the thing to move.spin/phases/ReelPhase.ts:15
distancenumberOvershoot in px, already signed for the reel’s direction of travel.spin/phases/ReelPhase.ts:21
easestring-spin/phases/ReelPhase.ts:24
gsaptypeof gsap-spin/phases/ReelPhase.ts:13
main"x" | "y"The container property that is the travel axis.spin/phases/ReelPhase.ts:17
reelReel-spin/phases/ReelPhase.ts:12
secondsnumberTotal down-and-back time in seconds.spin/phases/ReelPhase.ts:23