Skip to content

anim-format (runtime format) / lazyNeedsAhead

Function: lazyNeedsAhead() ​

ts
function lazyNeedsAhead(
   file, 
   symbol, 
   frame, 
   ahead, 
   loop?
): LazyNeeds;

The on-demand media of runs that START after frame and by frame + ahead (loop: the window wraps round the symbol's end) — what a clip about to reach them should fetch now. Cheap: the runs showing lazy media are found once per symbol.

Parameters ​

ParameterTypeDefault value
fileAnimFileundefined
symbolstringundefined
framenumberundefined
aheadnumberundefined
loop?booleanfalse

Returns ​

LazyNeeds

HereSplash — 2D animation for the web