公告
财富商城
积分规则
提问
发文
2019-06-09 12:31发布
Animai°情兽
Recently I'm facing problem with Bootstrap 3 Tooltip when I'm trying to add some html code inside title attribute. It shows me plain html tags code.
Here is the problem
For getting html formatted result on tooltip you have to use html: true when initialize the bootstrap tooltip
Example: $('[data-toggle="tooltip"]').tooltip({ html: true });
Yep. Depending on how you use it, you have to specify the html option as true. Read the docs here.
html
true
最多设置5个标签!
For getting html formatted result on tooltip you have to use html: true when initialize the bootstrap tooltip
Example: $('[data-toggle="tooltip"]').tooltip({ html: true });
Yep. Depending on how you use it, you have to specify the
html
option astrue
. Read the docs here.