Skip to main content

dyte-plugins-toggle

A button which toggles visibility of plugins.

When clicked it emits a dyteStateUpdate event with the data:

{
activeSidebar: boolean;
sidebar: 'plugins' | 'none';
}
<dyte-plugins-toggle size="sm" class="dyte-el"></dyte-plugins-toggle>
<dyte-plugins-toggle size="lg" class="dyte-el"></dyte-plugins-toggle>
<dyte-plugins-toggle variant="horizontal" class="dyte-el"></dyte-plugins-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"