element-plus/docs/examples/tooltip-v2/basic-usage.vue
JeremyWuuuuu f576d5a57b
feat(components): [tooltip-v2] documentation (#6870)
- Add tooltip-v2 documentation
- Complete tooltip-v2 implementation
2022-03-29 15:12:10 +08:00

15 lines
319 B
Vue

<template>
<el-tooltip-v2 aria-label="content" placement="left">
<template #trigger>
<el-button circle
><el-icon><Plus /></el-icon
></el-button>
</template>
Basic tooltip
</el-tooltip-v2>
</template>
<script setup lang="ts">
import { Plus } from '@element-plus/icons-vue'
</script>