Skip to main content

dyte-poll-form

A component that lets you create a poll.

<dyte-poll-form id="dyte-el"></dyte-poll-form>

<script>
document.getElementById('dyte-el').addEventListener('dyteCreatePoll', (e) => {
console.log('create poll', e.detail);
});
</script>

Props

iconPack

Icon pack

Default
defaultIconPack

t

Language

Default
useLanguage()