Speaker Chip

Les initiales d’un intervenant dans un avatar à la couleur de son rôle et son nom, tirés d’une seule clé d’intervenant de la transcription.

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

Utilisation

MeOthersSpeaker 1Speaker 2
Ada ParkMeSpeaker 3

Importation

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

Référence de l’API

SoneSpeakerChipComponentComposant

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

Sélecteur
sone-speaker-chip
Inputs
NomType Par défaut
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"