A grid component which renders only the participants in a simple grid.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
aspectRatio |
string |
✅ | - | Aspect Ratio of participant tile Format: width:height |
config |
UIConfig |
❌ | createDefaultConfig() |
UI Config |
gap |
number |
✅ | - | Gap between participant tiles |
iconPack |
IconPack |
❌ | defaultIconPack |
Icon Pack |
meeting |
Meeting |
✅ | - | Meeting object |
participants |
Peer[] |
✅ | - | Participants |
size |
Size |
✅ | - | Size |
states |
States |
✅ | - | States object |
t |
RtkI18n |
❌ | useLanguage() |
Language |
<rtk-simple-grid></rtk-simple-grid><rtk-simple-grid
aspectRatio="example">
</rtk-simple-grid><script>
const el = document.querySelector("rtk-simple-grid");
el.gap= 42;
el.meeting= meeting
</script>