Skip to content

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

rtk-chat-toggle

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

チャットの表示を切り替えるボタンです。未読メッセージ数のバッジを表示するには、meeting オブジェクトを渡します。クリックすると、次のデータを含む rtkStateUpdate イベントを発行します。

{ activeSidebar: boolean; sidebar: 'chat' }

プロパティ

プロパティ 型 必須 デフォルト 説明
iconPack IconPack ❌ defaultIconPack アイコンパック
meeting Meeting ✅ - Meeting オブジェクト
size Size ✅ - サイズ
states States ✅ - States オブジェクト
t RtkI18n ❌ useLanguage() 言語
variant ControlBarVariant ✅ - バリアント

使用例

基本的な使い方

<!-- component.html -->
<rtk-chat-toggle></rtk-chat-toggle>

プロパティを指定する場合

<!-- component.html -->
<rtk-chat-toggle
 [meeting]="meeting"
 size="md"
 variant="button">
</rtk-chat-toggle>

役に立ちましたか?