Timeline

Faixas de blocos e uma faixa de capítulos em uma mesma escala de tempo, com cursor de reprodução, capítulos e legenda.

Disponível em
  • Angular: disponível
  • Vue: disponível
  • React: disponível
  • React Native: ainda não disponível

Uso

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.

Importação

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

Referência da API

SoneTimelineChaptersComponentComponente

Seletor
sone-timeline-chapters
Inputs
NomeTipo Padrão
chaptersTimelineChapterItem[][]
label—$localize`Chapters`
activeOrdersReadonlySet<number>new Set()
Outputs
NomeTipo
seeknumber

SoneTimelineComponentComponente

Seletor
sone-timeline
Inputs
NomeTipo Padrão
dataTimelineData | nullnull
totalnumber0
currentTimenumber0
loadingbooleanfalse
errorbooleanfalse
needsGenerationbooleanfalse
suggestionsTimelineLaneSuggestion[][]
labelsPartial<TimelineLabels>{}
Outputs
NomeTipo
seeknumber
retryvoid
generatevoid
pinnumber
renameLaneTimelineLaneRename

SoneTimelineLegendComponentComponente

Seletor
sone-timeline-legend
Inputs
NomeTipo Padrão
lanesTimelineLegendLane[][]
suggestionsTimelineLaneSuggestion[][]
nameLabel—$localize`Speaker name`
Outputs
NomeTipo
renameTimelineLaneRename