Speaker Chip

Inicjały mówcy w awatarze w kolorze jego roli oraz jego nazwa, wyprowadzone z jednego klucza mówcy transkrypcji.

Dostępny w
  • Angular: dostępny
  • Vue: dostępny
  • React: dostępny
  • React Native: jeszcze niedostępny

Użycie

MeOthersSpeaker 1Speaker 2
Ada ParkMeSpeaker 3

Import

ts
import {
  SoneSpeakerChipComponent,
} from "@surface-one/angular/speaker-chip";

Dokumentacja API

SoneSpeakerChipComponentKomponent

`<sone-speaker-chip>` — who is talking: initials in a tone-coloured avatar plus the speaker's name, both derived from one speaker key (`me`, `others`, `others-0`, `speaker-2`) with `speakerLabel()` / `speakerTone()`.

Selektor
sone-speaker-chip
Wejścia
NazwaTyp Domyślnie
speaker

The speaker key; an unknown key is shown as it is.

string | nullnull
label

Replaces the derived name (a real participant name, say).

string | nullnull
sizeSpeakerChipSize"default"