dyte-participants-toggle
A button which toggles visibility of participants.
When clicked it emits a dyteStateUpdate
event with the data:
{
activeSidebar: boolean;
sidebar: 'participants' | 'none';
}
<dyte-participants-toggle size="sm" class="dyte-el"></dyte-participants-toggle>
<dyte-participants-toggle size="lg" class="dyte-el"></dyte-participants-toggle>
<dyte-participants-toggle
variant="horizontal"
class="dyte-el"
></dyte-participants-toggle>
Props
iconPack
meeting
Meeting object
Type
DyteClient
size
Size
Type
"lg" | "md" | "sm" | "xl"
states
States object
Type
States
t
variant
Variant
Default
'button'
Type
"button" | "horizontal"