element-plus/docs/examples/tooltip/html-content.vue
kooriookami 7032e75721
style&doc(components): [el-tooltip] improve style and doc (#5598)
* style: change style

* style: remove useless style

* style: update

* docs: update
2022-01-25 16:10:49 +08:00

9 lines
177 B
Vue

<template>
<el-tooltip
content="<span>The content can be <strong>HTML</strong></span>"
raw-content
>
<el-button>hover me</el-button>
</el-tooltip>
</template>