| プロパティ | 型 | 必須 | デフォルト | 説明 |
|---|---|---|---|---|
config |
UIConfig |
❌ | createDefaultConfig() |
設定オブジェクト |
iconPack |
IconPack |
❌ | defaultIconPack |
アイコンパック |
isPreview |
boolean |
✅ | - | タイルをプレビューに使うかどうか |
nameTagPosition |
| 'bottom-left' | 'bottom-right' | 'bottom-center' | 'top-left' | 'top-right' | 'top-center' |
✅ | - | ネームタグの位置 |
participant |
Peer |
✅ | - | Participant オブジェクト |
size |
Size |
✅ | - | サイズ |
states |
States |
✅ | - | States オブジェクト |
t |
RtkI18n |
❌ | useLanguage() |
言語 |
variant |
'solid' | 'gradient' |
✅ | - | バリアント |
<rtk-participant-setup></rtk-participant-setup><rtk-participant-setup>
</rtk-participant-setup><script>
const el = document.querySelector("rtk-participant-setup");
el.isPreview= true;
el.participant= participant
</script>