Speaker Chip

As iniciais de quem fala em um avatar na cor do seu papel e o seu nome, obtidos de uma única chave de falante da transcrição.

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

Uso

MeOthersSpeaker 1Speaker 2
Ada ParkMeSpeaker 3

Importação

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

Referência da 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()`.

Seletor
sone-speaker-chip
Inputs
NomeTipo Padrão
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"