Skip to main content

dyte-mic-toggle

A button which toggles your microphone.

<dyte-mic-toggle size="sm" class="dyte-el"></dyte-mic-toggle>
<dyte-mic-toggle size="lg" class="dyte-el"></dyte-mic-toggle>
<dyte-mic-toggle variant="horizontal" class="dyte-el"></dyte-mic-toggle>

<script>
const elements = document.getElementsByClassName('dyte-el');
for (const el of elements) {
el.meeting = meeting;
}
</script>

Props

iconPack

Icon pack

Default
defaultIconPack

meeting

Meeting object

size

Size

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

t

Language

Default
useLanguage()

variant

Variant

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