speed
Call Signature
Section titled “Call Signature”speed(
fn):Promise<void>
Defined in: speed.ts:64
Speeds up (or slows down) the recording inside fn at render time.
Three forms:
speed(3, fn): the multiplier comes from code and is locked against web edits.speed('name', fn): names the block; the multiplier is owned by the web editor (defaults to 1 until edited there).speed(fn): unnamed web-editable block, identified by its position on the editor timeline.
Parameters
Section titled “Parameters”() => void | Promise<void>
Returns
Section titled “Returns”Promise<void>
Call Signature
Section titled “Call Signature”speed(
name,fn):Promise<void>
Defined in: speed.ts:65
Speeds up (or slows down) the recording inside fn at render time.
Three forms:
speed(3, fn): the multiplier comes from code and is locked against web edits.speed('name', fn): names the block; the multiplier is owned by the web editor (defaults to 1 until edited there).speed(fn): unnamed web-editable block, identified by its position on the editor timeline.
Parameters
Section titled “Parameters”string
() => void | Promise<void>
Returns
Section titled “Returns”Promise<void>
Call Signature
Section titled “Call Signature”speed(
multiplier,fn):Promise<void>
Defined in: speed.ts:69
Speeds up (or slows down) the recording inside fn at render time.
Three forms:
speed(3, fn): the multiplier comes from code and is locked against web edits.speed('name', fn): names the block; the multiplier is owned by the web editor (defaults to 1 until edited there).speed(fn): unnamed web-editable block, identified by its position on the editor timeline.
Parameters
Section titled “Parameters”multiplier
Section titled “multiplier”number
() => void | Promise<void>
Returns
Section titled “Returns”Promise<void>