| 属性 | 类型 | 必填 | 默认值 | 描述 |
|---|---|---|---|---|
config |
UIConfig |
❌ | createDefaultConfig() |
配置对象 |
iconPack |
IconPack |
❌ | defaultIconPack |
图标包 |
isPreview |
boolean |
✅ | - | 视窗是否用于预览 |
nameTagPosition |
| 'bottom-left' | 'bottom-right' | 'bottom-center' | 'top-left' | 'top-right' | 'top-center' |
✅ | - | 名称标签的位置 |
participant |
Peer |
✅ | - | Participant 对象 |
size |
Size |
✅ | - | 尺寸 |
states |
States |
✅ | - | States 对象 |
t |
RtkI18n |
❌ | useLanguage() |
语言 |
variant |
'solid' | 'gradient' |
✅ | - | 变体 |
<!-- component.html -->
<rtk-participant-setup></rtk-participant-setup><!-- component.html -->
<rtk-participant-setup
[isPreview]="true"
[nameTagPosition]="| 'bottom-left'
| 'bottom-right'
| 'bottom-center'
| 'top-left'
| 'top-right'
| 'top-center'"
[participant]="participant">
</rtk-participant-setup>