Interface

UseTimelineTrackLockControlResult

Result returned by `useTimelineTrackLockControl`.

Signature

Type Definition
Interface UseTimelineTrackLockControlResult

Properties

NameSignatureDescription
buttonPropsbuttonProps: TimelineTrackLockControlButtonPropsProps for a semantic lock toggle button.
existsexists: booleanWhether the requested track exists.
labellabel: stringHuman-readable track label.
lockedlocked: booleanWhether the track is locked for editing.
setLocked(locked: boolean): TimelineCommandResultSets this track's locked state.
toggleLock(): TimelineCommandResultToggles this track's locked state.
trackIdtrackId: stringRequested track id.