rtk-participants-toggle
A button which toggles visibility of participants.
When clicked it emits a rtkStateUpdate event with the data:
{ activeSidebar: boolean; sidebar: 'participants' }| Property | Type | Required | Default | Description |
|---|---|---|---|---|
iconPack | IconPack | ❌ | defaultIconPack | Icon pack |
meeting | Meeting | ✅ | - | Meeting object |
size | Size | ✅ | - | Size |
states | States | ✅ | - | States object |
t | RtkI18n | ❌ | useLanguage() | Language |
variant | ControlBarVariant | ✅ | - | Variant |
<rtk-participants-toggle></rtk-participants-toggle><rtk-participants-toggle size="md" variant"button"></rtk-participants-toggle><script> const el = document.querySelector("rtk-participants-toggle");
el.meeting= meeting</script>