Function: bounceEffect()
> bounceEffect(alias, options?, priority?): Promise<string[] | undefined>
Defined in: src/canvas/functions/canvas-effect.ts:180
Bounce the canvas element: a one-directional displacement that repeatedly returns to rest, each bounce shrinking towards rest by BounceEffectProps.decay. Like a dropped ball settling.
Parameters
alias
string
The alias to identify the component.
options?
BounceEffectProps = {}
Animation options.
priority?
UPDATE_PRIORITY
The priority of the PixiJS ticker.
Returns
Promise<string[] | undefined>