Signature
Interface TimecodeFieldRootPropsProperties
| Name | Signature | Description |
|---|---|---|
ariaLabel | ariaLabel: string | Human-readable name used for default trigger and input labels. |
children? | children?: ReactNode | Field parts. Defaults to the compact trigger plus the temporary editing input. |
defaultEditing? | defaultEditing?: boolean | Initial editing state when uncontrolled. |
disabled? | disabled?: boolean | Disables trigger activation and cancels active editing when true. |
duration? | duration?: number | RationalTime | Duration used to size fixed-width display slots. Defaults to the current value. |
editing? | editing?: boolean | Controlled editing state. |
formatOptions? | formatOptions?: TimecodeFormatOptions | Formatting options used for the trigger text and draft value when editing starts. |
onCommit | (seconds: number, details: TimecodeFieldCommitDetails): void | Promise<void> | Called when the user commits valid timecode text. |
onEditingChange? | (editing: boolean): void | Called when the field requests an editing state change. |
parseOptions? | parseOptions?: TimecodeParseOptions | Parsing options used for draft validation and commit. |
timebase? | timebase?: number | Tick rate used for `details.time`. Defaults to the value rate, or `60000` for seconds. |
value | value: number | RationalTime | Current field value as seconds or `RationalTime`. |
valueLabel? | valueLabel?: string | Optional label used in trigger accessibility text instead of the formatted value. |