Skip to content

Wiggle API / Transition

Interface: Transition ​

A scheduled motion whose start can be placed relative to other elements.

Methods ​

after() ​

after(ref, gap?): Transition

Start gap seconds after ref's motion begins (default 0).

Parameters ​

ref ​

Timed

gap? ​

Duration

Returns ​

Transition


with() ​

with(ref): Transition

Start together with ref's motion.

Parameters ​

ref ​

Timed

Returns ​

Transition