Signature
Interface ClipInteractionLayerPropsProperties
| Name | Signature | Description |
|---|---|---|
activeClipFocusVisible? | activeClipFocusVisible?: boolean | Whether the externally controlled active clip should render focus-visible styling. |
activeClipId? | activeClipId?: string | null | Optional externally controlled active clip id for the delegated overlay. |
activeClipRegion? | activeClipRegion?: ClipHitRegion | Overlay region used for an externally controlled active clip. Defaults to `body`. |
clipNavigationWrap? | clipNavigationWrap?: boolean | Whether next/previous keyboard navigation wraps. Defaults to `false`. |
collapsedTrackHeight? | collapsedTrackHeight?: number | Collapsed track height in pixels. |
edgeThreshold? | edgeThreshold?: number | Mouse/pen edge hit threshold in pixels. |
getClipAriaDescription? | (clip: Clip, track: Track<string>): string | Optional accessible description formatter for a canvas-rendered clip. |
getClipAriaLabel? | (clip: Clip, track: Track<string>): string | Optional accessible label formatter for a canvas-rendered clip. |
keyboardNavigation? | keyboardNavigation?: boolean | Enables one focusable clip navigator for canvas-rendered clips. The layer handles keyboard input only while focused and never intercepts `Tab`. Defaults to `true`. |
onClipDoubleClick? | (hit: ClipHitTestResult, details: ClipDoubleClickDetails): void | Optional handler for double-click or double-tap gestures on canvas-rendered clips. |
rulerHeight? | rulerHeight?: number | Height of the top ruler region in pixels. |
selectOnNavigate? | selectOnNavigate?: boolean | Whether keyboard navigation also selects clips in the engine. Defaults to `false`. |
touchEdgeThreshold? | touchEdgeThreshold?: number | Touch edge hit threshold in pixels. |
trackHeight? | trackHeight?: number | Default expanded track height in pixels. |