mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-14 17:31:02 +08:00
f576d5a57b
- Add tooltip-v2 documentation - Complete tooltip-v2 implementation
19 lines
396 B
Vue
19 lines
396 B
Vue
<template>
|
|
<el-tooltip-v2 full-transition :transition-props="transitionProps">
|
|
<template #trigger>
|
|
<el-button circle
|
|
><el-icon><Plus /></el-icon
|
|
></el-button>
|
|
</template>
|
|
<div>content</div>
|
|
</el-tooltip-v2>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import { Plus } from '@element-plus/icons-vue'
|
|
|
|
const transitionProps = {
|
|
name: 'el-fade-in-linear',
|
|
}
|
|
</script>
|