Skip to main content

rtk-participants-toggle

A button which toggles visibility of participants.

When clicked it emits a rtkStateUpdate event with the data:

{
activeSidebar: boolean;
sidebar: 'participants' | 'none';
}
<rtk-participants-toggle size="sm" class="rtk-el"></rtk-participants-toggle>
<rtk-participants-toggle size="lg" class="rtk-el"></rtk-participants-toggle>
<rtk-participants-toggle
variant="horizontal"
class="rtk-el"
></rtk-participants-toggle>

Props

iconPack

Icon pack

Default
defaultIconPack

meeting

Meeting object

size

Size

Type
"lg" | "md" | "sm" | "xl"

states

States object

Type
States

t

Language

Default
useLanguage()

variant

Variant

Default
'button'
Type
"button" | "horizontal"