【发布时间】:2019-04-16 18:45:22
【问题描述】:
我在 Vue.js 中使用 Element Popover 组件 (https://element.eleme.io/#/en-US/component/popover)。弹出框正在工作,我可以显示文本内容。
<el-popover
placement="bottom"
title="Title"
width="200"
trigger="click"
content="this is content, this is content, this is content"
>
<el-button type="primary" slot="reference" circle style="background-color:white;border-color:white" >
<img src="img/if_Help_1493288.png" alt="Help" height="42" width="42">
</el-button>
</el-popover>
是否可以显示常规的 html 元素,例如<br>, <strong> or <img> 在弹出内容中?
【问题讨论】:
标签: vue.js element-io