Skip to main content

Type Alias: DurationFormatterOptions

DurationFormatterOptions = object

Defined in: src/sdk/graphics/text/DurationFormatter.ts:8

Options for creating a duration formatter.

Properties

cache

cache: boolean

Defined in: src/sdk/graphics/text/DurationFormatter.ts:13

Whether to cache and reuse the previously generated string when possible.


nanString

nanString: string

Defined in: src/sdk/graphics/text/DurationFormatter.ts:10

The string to output when the input duration is NaN.