Timeline

Des pistes de blocs et un ruban de chapitres sur une même échelle de temps, avec tête de lecture, chapitres et légende.

Disponible pour
  • Angular: disponible
  • Vue: disponible
  • React: disponible
  • React Native: pas encore disponible

Utilisation

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.

Importation

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

Référence de l’API

SoneTimelineChaptersComponentComposant

Sélecteur
sone-timeline-chapters
Inputs
NomType Par défaut
chaptersTimelineChapterItem[][]
label—$localize`Chapters`
activeOrdersReadonlySet<number>new Set()
Outputs
NomType
seeknumber

SoneTimelineComponentComposant

Sélecteur
sone-timeline
Inputs
NomType Par défaut
dataTimelineData | nullnull
totalnumber0
currentTimenumber0
loadingbooleanfalse
errorbooleanfalse
needsGenerationbooleanfalse
suggestionsTimelineLaneSuggestion[][]
labelsPartial<TimelineLabels>{}
Outputs
NomType
seeknumber
retryvoid
generatevoid
pinnumber
renameLaneTimelineLaneRename

SoneTimelineLegendComponentComposant

Sélecteur
sone-timeline-legend
Inputs
NomType Par défaut
lanesTimelineLegendLane[][]
suggestionsTimelineLaneSuggestion[][]
nameLabel—$localize`Speaker name`
Outputs
NomType
renameTimelineLaneRename