mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-16 02:11:48 +08:00
7032e75721
* style: change style * style: remove useless style * style: update * docs: update
17 lines
344 B
Vue
17 lines
344 B
Vue
<template>
|
|
<el-tooltip v-model:visible="visible">
|
|
<template #content>
|
|
<span>Content</span>
|
|
</template>
|
|
<el-button @mouseenter="visible = true" @mouseleave="visible = false">
|
|
Hover me
|
|
</el-button>
|
|
</el-tooltip>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import { ref } from 'vue'
|
|
|
|
const visible = ref(false)
|
|
</script>
|