Function

formatTimelineTimeValue

Formats a timeline time for assistive technology. The result intentionally avoids timecode punctuation and raw floating point artifacts so controls can use it as `aria-valuetext`.

Signature

Type Definition
formatTimelineTimeValue(value: number | RationalTime | undefined, options: TimelineTimeValueFormatOptions = {}): string

Parameters

NameTypeDescription
valuenumber | RationalTime | undefinedTimeline time to format, as rational time or decimal seconds.
optionsTimelineTimeValueFormatOptionsOptional decimal precision for the spoken time value.

Returns

string