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
meeting
Meeting object
Type
DyteClient
size
Size
Type
"lg" | "md" | "sm" | "xl"
t
variant
Variant
Default
'button'
Type
"button" | "horizontal"