Speaker Chip

文字起こしの話者キー 1 つから、役割の色のアバターに入ったイニシャルと話者名を表示します。

対応フレームワーク
  • Angular: 対応
  • Vue: 対応
  • React: 対応
  • React Native: 未対応

使い方

MeOthersSpeaker 1Speaker 2
Ada ParkMeSpeaker 3

インポート

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

API リファレンス

SoneSpeakerChipComponentコンポーネント

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

セレクター
sone-speaker-chip
入力
名前型 デフォルト
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"