Interface: ChapterChangedEvent
Defined in: packages/player/src/player.ts:790
Payload of the chapterChanged event.
Properties
index
readonly index: number | undefined;
Defined in: packages/player/src/player.ts:796
The chapter now current, 0-based; -1 when the position is before the
first chapter, and undefined when the entry has no chapters (which is how
this event reports a move off a chaptered entry).
previousIndex
readonly previousIndex: number | undefined;
Defined in: packages/player/src/player.ts:798
The chapter that was current before, with the same conventions.