最新cdn
bootstrap-css <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css">
jquery <script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
bootstrap-js <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script>
bootstrap-css <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css">
jquery <script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
bootstrap-js <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script>
2018-03-14
http://www.runoob.com/bootstrap/bootstrap-scrollspy-plugin.html
最好的例子
最好的例子
2018-03-06
data-toggle="dropdown" still required
Regardless of whether you call your dropdown via JavaScript or instead use the data-api, data-toggle="dropdown" is always required to be present on the dropdown's trigger element.
Regardless of whether you call your dropdown via JavaScript or instead use the data-api, data-toggle="dropdown" is always required to be present on the dropdown's trigger element.
2018-03-05
$('[data-toggle="popover"]').popover();應(yīng)該只是用$選擇data-toggle=popover的元素,所以這句話不是必須的。<button ddd='2b' title="123"></button>,然后$('[ddd='2b']').popover()一樣可以
2018-03-05
最新回答 / 慕粉2316179505
show.bs.modal
那個off()函數(shù)不是移除某個事件嘛,$(document).off('.data-api');不就相當移除data-api的所有事件嗎?為什么加了這個就可以使用所有api,你告訴我能用的是什么api???
2018-01-03