跳到主要内容

Interface: TitleDisplayOptions

Contains additional options for displaying a title and optional subtitle.

Properties

fadeInDuration

fadeInDuration: number

Remarks

Fade-in duration for the title and subtitle, in ticks. There are 20 ticks per second. Use TicksPerSecond constant to convert between ticks and seconds.


fadeOutDuration

fadeOutDuration: number

Remarks

Fade-out time for the title and subtitle, in ticks. There are 20 ticks per second. Use TicksPerSecond constant to convert between ticks and seconds.


stayDuration

stayDuration: number

Remarks

Amount of time for the title and subtitle to stay in place, in ticks. There are 20 ticks per second. Use TicksPerSecond constant to convert between ticks and seconds.


subtitle?

optional subtitle: string | RawMessage | (string | RawMessage)[]

Remarks

Optional subtitle text.