Speaker Chip

Le iniziali di chi parla in un avatar del colore del suo ruolo e il suo nome, ricavati da un’unica chiave del parlante della trascrizione.

Disponibile in
  • Angular: disponibile
  • Vue: disponibile
  • React: disponibile
  • React Native: non ancora disponibile

Utilizzo

MeOthersSpeaker 1Speaker 2
Ada ParkMeSpeaker 3

Importazione

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

Riferimento API

SoneSpeakerChipComponentComponente

`<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()`.

Selettore
sone-speaker-chip
Input
NomeTipo Predefinito
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"