【发布时间】:2012-11-22 04:33:52
【问题描述】:
如果我检查official documentation,我可以看到一个名为 HTML 的属性:
Name | Type | default | Description
----------------------------------------------------------------------------
html | boolean | false | Insert html into the tooltip.
If false, jquery's text method
will be used to insert content
into the dom. Use text if you're
worried about XSS attacks.
上面写着“将 html 插入工具提示”,但类型是布尔值。如何在 Tooltip 中使用复杂的 html?
【问题讨论】:
标签: javascript html twitter-bootstrap-3 tooltip