Appearance
Wiggle API / Motion
Interface: Motion
Methods
fade()
fade(
opts?):Transition
Fade only.
Parameters
opts?
duration?
Returns
pop()
pop(
opts?):Transition
Scale up from from (default 0.6) with a fade. ease is a spring (the default) or a named curve; with a curve, duration sets the length.
Parameters
opts?
duration?
ease?
from?
number
Returns
rise()
rise(
opts?):Transition
Fade in while sliding up by by pixels (default 22).
Parameters
opts?
by?
number
duration?
ease?
Returns
slide()
slide(
opts?):Transition
Slide in from a direction with a fade. An optional scale runs alongside for a punch-in. ease is a spring (the default) or a named curve.
Parameters
opts?
by?
number
duration?
ease?
from?
"left" | "right" | "top" | "bottom"
scale?
number