Skip to content

selectedTangentMode

selectedTangentMode(tracks, selection): "mixed" | TangentMode | null

Defined in: src/components/editor/Timeline/timelineEdits.ts:272

The tangent mode that’s currently in effect for the selection — or 'mixed' when selected keyframes disagree, or null when nothing applicable is selected. Lets a UI render the right toggle state.

Parameters

tracks

readonly TimelineTrack[]

selection

TimelineSelection

Returns

"mixed" | TangentMode | null