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