Timeline

Lanes of blocks and a chapter ribbon on one time scale, with a playhead, chapters and legend.

Available in
  • Angular: available
  • Vue: available
  • React: available
  • React Native: not available yet

Usage

Timeline

Who spoke when & what was discussed
0:003:006:009:0012:00
Speakers4:154:153:30
TopicsJump to a chapter
Playhead at 290 s — click a block or chapter to seek.

Import

ts
import {
  SoneTimelineChaptersComponent,
  SoneTimelineComponent,
  SoneTimelineLegendComponent,
} from "@surface-one/angular/timeline";

API reference

SoneTimelineChaptersComponentComponent

Selector
sone-timeline-chapters
Inputs
NameType Default
chaptersTimelineChapterItem[][]
label—$localize`Chapters`
activeOrdersReadonlySet<number>new Set()
Outputs
NameType
seeknumber

SoneTimelineComponentComponent

Selector
sone-timeline
Inputs
NameType Default
dataTimelineData | nullnull
totalnumber0
currentTimenumber0
loadingbooleanfalse
errorbooleanfalse
needsGenerationbooleanfalse
suggestionsTimelineLaneSuggestion[][]
labelsPartial<TimelineLabels>{}
Outputs
NameType
seeknumber
retryvoid
generatevoid
pinnumber
renameLaneTimelineLaneRename

SoneTimelineLegendComponentComponent

Selector
sone-timeline-legend
Inputs
NameType Default
lanesTimelineLegendLane[][]
suggestionsTimelineLaneSuggestion[][]
nameLabel—$localize`Speaker name`
Outputs
NameType
renameTimelineLaneRename