mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-04 20:27:44 +08:00
ade87f6729
* docs: standardize unified example code format and fix some example type * docs: update some example type * Update docs/examples/descriptions/sizes.vue Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com> * docs: update example-page-header * docs: update example-page-header --------- Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>
18 lines
352 B
Vue
18 lines
352 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>
|