How to detect which Bootstrap version is used from JavaScript?

后端 未结 5 1997
清酒与你
清酒与你 2020-12-29 22:34

I\'ve been looking at the CSS & JavaScript from Bootstrap 3. Nothing is modularized under a common alias. For the JavaScript, it is injected into jQuery\'s prototype...<

5条回答
  •  清歌不尽
    2020-12-29 22:40

    The version of each of Bootstrap's jQuery plugins can be accessed via the VERSION property of the plugin's constructor

    $.fn.tooltip.Constructor.VERSION
    

提交回复
热议问题