dyte-simple-grid
A grid component which renders only the participants in a simple grid.
<dyte-simple-grid id="dyte-el"></dyte-simple-grid>
<script>
const el = document.getElementBydId('dyte-el');
el.participants = [meeting.self];
</script>
<style>
dyte-simple-grid {
height: 360px;
width: 100%;
}
</style>
Props
aspectRatio
Aspect Ratio of participant tile Format: `width:height`
Default
'16:9'
Type
string
config
gap
Gap between participant tiles
Default
8
Type
number
iconPack
meeting
Meeting object
Type
DyteClient
participants
size
Size
Type
"lg" | "md" | "sm" | "xl"
states
States object
Type
States