Re:Vue

【revuekitz】ToolTip

■ コンポーネントデモ(demo)

■ 概要(Overview)

コンポーネント名

  • ToolTip

レベル (Atomic Design)

  • Atoms(原子)

カテゴリー(Category)

  • displays

■ データ(Data)

【reactive/ref】

  • visible (boolean): ツールチップの表示状態 (Whether the popup dialog is visible)

【props】

  • style (string):ツールチップのコンテンツ部分のスタイル (Inline style of the dialog)

■ 使用例(Usecase)

<script setup lang="ts">
import { ToolTip } from 'revuekitz'
import 'revuekitz/dist/style.css' 
</script>

<template>
  <ToolTip>
    <template v-slot:toolTipBtn>
      <div><button>TEST</button></div>
    </template>
    <template v-slot:toolTipContent>
      <div class="pa-2">TESTMAN</div>
    </template>
  </ToolTip>
</template>