Skip to main content

dyte-screen-share-toggle

A button which toggles your screenshare.

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

states

States object

Type
States

t

Language

Default
useLanguage()

variant

Variant

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