Skip to content
Cloudflare Docs

rtk-participant-setup

Properties

PropertyTypeRequiredDefaultDescription
configUIConfigcreateDefaultConfig()Config object
iconPackIconPackdefaultIconPackIcon pack
isPreviewboolean-Whether tile is used for preview
nameTagPosition| 'bottom-left' | 'bottom-right' | 'bottom-center' | 'top-left' | 'top-right' | 'top-center'-Position of name tag
participantPeer-Participant object
sizeSize-Size
statesStates-States object
tRtkI18nuseLanguage()Language
variant'solid' | 'gradient'-Variant

Usage Examples

Basic Usage

<rtk-participant-setup></rtk-participant-setup>

With Properties

<rtk-participant-setup>
</rtk-participant-setup>
<script>
const el = document.querySelector("rtk-participant-setup");
el.isPreview= true;
el.participant= participant
</script>