mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-15 09:50:58 +08:00
9 lines
226 B
Vue
9 lines
226 B
Vue
|
<template>
|
||
|
<el-tooltip-v2 aria-label="content" teleported to="body">
|
||
|
<template #trigger>
|
||
|
<el-button>hover me</el-button>
|
||
|
</template>
|
||
|
<div>I am attached to document.body</div>
|
||
|
</el-tooltip-v2>
|
||
|
</template>
|