bootstrap-datepicker README

The project's README from github.com/uxsolutions/bootstrap-datepicker. As one markdown file: README.md.

bootstrap-datepicker

Join the chat at https://gitter.im/uxsolutions/bootstrap-datepicker Build Status GitHub license npm Twitter Follow

Versions are incremented according to semver.

CDN

You can use the CloudFlare powered cdnjs.com on your website.

bootstrap-datepicker on cdnjs

Please note: It might take a few hours until a new version is available on cdnjs.

Snippets

Development

Once you cloned the repo, you'll need to install grunt and the development dependencies using a package manager:

$ [sudo] yarn global add grunt-cli
$ yarn install
$ [sudo] npm install --global grunt-cli
$ npm install

bootstrap-datepicker (uxsolutions/bootstrap-datepicker)

Searching Database…

这是什么?这是一个适用于 Twitter Bootstrap 的日期选择器组件,可以在基于 Bootstrap 的表单和输入框中添加日历式的日期选择界面。
它是独立的应用,还是要添加到页面中的插件?它是一个基于 jQuery 的 JavaScript 插件,可以把日历组件附加到输入框上,直接嵌入现有的 Bootstrap 页面中使用。
我该如何把它添加到我的项目中?可以通过 CloudFlare 提供支持的 cdnjs CDN 获取,也可以克隆仓库,然后使用 Grunt 以及 yarn 或 npm 等包管理器自行构建。
要让它正常工作,需要 jQuery 吗?需要。jQuery 是唯一的运行时依赖;如果要进行开发,还需要 Grunt,以及 yarn 或 npm 来安装开发依赖。
在使用之前,我在哪里可以看到它的效果?项目提供了托管在 ReadTheDocs.com 上的在线演示(Online Demo)和在线文档(Online Docs)链接。
我能同时使用两个日期选择器吗,比如选择日期范围?可以。文档中提到了一个包含两个选择器的预订演示代码片段,这表明范围型或预订型的设置是开箱即用的。
版本是如何管理的?发布版本遵循语义化版本规范(Semantic Versioning,简称 semver),因此版本号可以表明破坏性变更、新功能和修复的范围。
Size
6.2 MB
Stars
12.6K
Age
14y
Commits · 90 Days