Skip to content

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

rtk-tooltip

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

RTK Design System に準拠したツールチップコンポーネントです。

プロパティ

プロパティ 型 必須 デフォルト 説明
delay number ✅ - ツールチップを表示するまでの遅延
disabled boolean ✅ - 無効
kind TooltipKind ✅ - ツールチップの種類
label string ✅ - ツールチップのラベル
open boolean ✅ - 開いているかどうか
placement Placement ✅ - メニューの配置
size Size ✅ - サイズ
variant TooltipVariant ✅ - ツールチップのバリアント

使用例

基本的な使い方

<!-- component.html -->
<rtk-tooltip></rtk-tooltip>

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

<!-- component.html -->
<rtk-tooltip
 delay="42"
 [disabled]="true"
 [kind]="tooltipkind">
</rtk-tooltip>

役に立ちましたか?