mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-14 09:20:51 +08:00
17 lines
351 B
Vue
17 lines
351 B
Vue
|
<template>
|
||
|
<el-tooltip-v2 :aria-label="title">
|
||
|
<template #trigger>
|
||
|
<el-button
|
||
|
><el-icon><Delete /></el-icon
|
||
|
></el-button>
|
||
|
</template>
|
||
|
{{ content }}
|
||
|
</el-tooltip-v2>
|
||
|
</template>
|
||
|
|
||
|
<script setup lang="ts">
|
||
|
import { Delete } from '@element-plus/icons-vue'
|
||
|
const content = 'Delete'
|
||
|
const title = 'Delete item'
|
||
|
</script>
|