Skip to content

anim-format (runtime format) / ChainOps

Interface: ChainOps<T> ​

Type Parameters ​

Type Parameter
T extends ChainClip

Methods ​

run() ​

ts
run(
   t, 
   a, 
   scene, 
   path
): ChainStep;

runs one action on t (named by path); scene = a scene step right before named it

Parameters ​

ParameterType
tT
aPlaybackAction
scenestring | undefined
pathstring

Returns ​

ChainStep


target() ​

ts
target(path, a): T | null;

the clip path aims at ("" = the running clip; null = none: the step is skipped there)

Parameters ​

ParameterType
pathstring
aPlaybackAction

Returns ​

T | null

HereSplash — 2D animation for the web