Skip to content

rtk-poll

A poll component. Shows a poll where a user can vote.

Properties

PropertyTypeRequiredDefaultDescription
iconPackIconPack❌defaultIconPackIcon pack
permissionsRTKPermissionsPreset✅-Permissions Object
pollPoll✅-Poll
selfstring✅-Self ID
tRtkI18n❌useLanguage()Language

Usage Examples

Basic Usage

<rtk-poll></rtk-poll>

With Properties

<rtk-poll
self="example">
</rtk-poll>
<script>
const el = document.querySelector("rtk-poll");
</script>