effect-motion
API ReferenceexportNamespacesFramesFunctions

parse

function parse(input): Effect<Selection, FrameSelectionError>;

Function: parse()

function parse(input): Effect<Selection, FrameSelectionError>;

Defined in: packages/export/src/Frames.ts:86

Parse a selection string: a comma-separated list of frame indices (0,30), times (1.5s, 500ms), percentages (50%) and end — or count N for N evenly spaced frames including the first and last, optionally within a range of any two selectors (count 5 7.5s..8.5s, count 4 50%..end).

Parameters

ParameterType
inputstring

Returns

Effect<Selection, FrameSelectionError>

On this page