pinnedParticipants と participants の 2 つの参加者リストを描画するグリッドコンポーネントです。
レイアウトはデフォルトで row です。column 表示にカスタマイズできます。
pinnedParticipants[]の参加者は、より大きなグリッド内に描画します。participants[]配列の参加者は、より小さなグリッドに描画します。
| プロパティ | 型 | 必須 | デフォルト | 説明 |
|---|---|---|---|---|
aspectRatio |
string |
✅ | - | 参加者タイルのアスペクト比。形式: width:height |
config |
UIConfig |
❌ | createDefaultConfig() |
UI 設定 |
gap |
number |
✅ | - | 参加者タイル間の間隔 |
gridSize |
GridSize1 |
✅ | - | グリッドサイズ |
iconPack |
IconPack |
❌ | defaultIconPack |
アイコンパック |
layout |
GridLayout1 |
✅ | - | グリッドレイアウト |
meeting |
Meeting |
✅ | - | Meeting オブジェクト |
participants |
Peer[] |
✅ | - | 参加者 |
pinnedParticipants |
Peer[] |
✅ | - | ピン留めした参加者 |
size |
Size |
✅ | - | サイズ |
states |
States |
✅ | - | States オブジェクト |
t |
RtkI18n |
❌ | useLanguage() |
言語 |
<rtk-spotlight-grid></rtk-spotlight-grid><rtk-spotlight-grid
aspectRatio="example"
gridSize="md">
</rtk-spotlight-grid><script>
const el = document.querySelector("rtk-spotlight-grid");
el.gap= 42;
</script>