Skip to content

非公式 / UnofficialCloudflare, Inc. 非提携。アカウント情報は入力しないでください。Not affiliated with Cloudflare, Inc. Do not enter Cloudflare credentials here.Official docsこのサイトについてプライバシー

rtk-participant-setup

最終更新 Markdown で表示Agent セットアップ

プロパティ

プロパティ 型 必須 デフォルト 説明
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>

役に立ちましたか?