mcut
@mcut/timeline

TrimEdge

Generated TypeScript API reference for the public mcut SDK.

mcut SDK


mcut SDK / timeline/src / TrimEdge

Type Alias: TrimEdge

type TrimEdge = "start" | "end";

Defined in: packages/timeline/src/edge-trim.ts:22

Edge trims: move one boundary of a clip while its content stays anchored — the shared core under roll, slide, and ripple-trim edits.

deltaMs always moves the edge RIGHT (later) when positive. Shrinking an edge reuses the SPLIT machinery (each element type's onSplit hook plus splitKeyframes), so trims, timeMaps, reversed spans, angle lists, and word timings get exactly the bookkeeping a split-and-discard would produce. Growing an edge reveals more source where the type supports it.

On this page