Can I use complex HTML with Twitter Bootstrap's Tooltip?

后端 未结 5 1120
一生所求
一生所求 2020-11-27 11:13

If I check official documentation, I can see a property called HTML:

Name    |    Type       |    default  |    Description
---------------------------------         


        
5条回答
  •  时光说笑
    2020-11-27 11:52

    The html data attribute does exactly what it says it does in the docs. Try this little example, no JavaScript necessary (broken into lines for clarification):

    
    hover over me to see HTML
    
    


    JSFiddle demos:

    • Bootstrap 2.x
    • Bootstrap 3.x

提交回复
热议问题