Twitter Bootstrap是否包含jQuery? [英] Does Twitter Bootstrap include jQuery?

查看:89
本文介绍了Twitter Bootstrap是否包含jQuery?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Twitter引导程序 v3是否包含 jQuery 还是我需要单独包含jQuery?如果它确实包含jQuery,则包含什么版本的jQuery,并且在使用Bootstrap时所有jQuery函数都可用吗?

Does Twitter Bootstrap v3 include jQuery or do I need to include jQuery separately? If it does include jQuery, what version (number) of jQuery is included, and are all jQuery functions available when using Bootstrap?

推荐答案

抬起头!所有的javascript插件都需要最新版本的jQuery.

Heads up! All javascript plugins require the latest version of jQuery.

就在文档中

此处是jQuery的当前发行版链接

Bootstrap产品"有很多元素-其中一个是JavaScript插件-仅这些元素需要jQuery-并且它们扩展了jQuery功能,因此可以使用所有jQuery方法/函数.其余的(CSS,脚手架,组件等)需要HTML和CSS(或组合)

There are a number of elements to the Bootstrap "product" - one of them are JavaScript Plugins - only these require jQuery - and they extend the jQuery functionality so yes all jQuery methods / functions are available. The remainder (CSS, Scaffolding, Components etc) require HTML and CSS (or a combination)

jQuery Bootstrap下载中不包含jQuery-您必须下载它/链接到它的CDN版本

jQuery is not included within the Twitter Bootstrap download - you must download it / link to a CDN version of it

2.X requires atleast 1.7

这篇关于Twitter Bootstrap是否包含jQuery?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆