Speaker Chip

Las iniciales de un hablante en un avatar del color de su papel y su nombre, obtenidos de una sola clave de hablante de la transcripción.

Disponible en
  • Angular: disponible
  • Vue: disponible
  • React: disponible
  • React Native: aún no disponible

Uso

MeOthersSpeaker 1Speaker 2
Ada ParkMeSpeaker 3

Importación

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

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

Selector
sone-speaker-chip
Inputs
NombreTipo Predeterminado
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"