Skip to main content

dyte-camera-toggle

A button which toggles your camera.

<dyte-camera-toggle size="sm" class="dyte-el"></dyte-camera-toggle>
<dyte-camera-toggle size="lg" class="dyte-el"></dyte-camera-toggle>
<dyte-camera-toggle variant="horizontal" class="dyte-el"></dyte-camera-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"