# BSN
[![Coverage Status](https://coveralls.io/repos/github/thednp/bootstrap.native/badge.svg)](https://coveralls.io/github/thednp/bootstrap.native)
[![ci](https://github.com/thednp/bootstrap.native/actions/workflows/ci.yml/badge.svg)](https://github.com/thednp/bootstrap.native/actions/workflows/ci.yml)
[![NPM Version](https://img.shields.io/npm/v/bootstrap.native.svg)](https://www.npmjs.com/package/bootstrap.native)
[![jsDeliver](https://img.shields.io/jsdelivr/npm/hw/bootstrap.native)](https://www.jsdelivr.com/package/npm/bootstrap.native)
[![typescript version](https://img.shields.io/badge/typescript-5.0.2-brightgreen)](https://www.typescriptlang.org/)
[![eslint version](https://img.shields.io/badge/eslint-8.36.0-brightgreen)](https://github.com/eslint)
[![cypress version](https://img.shields.io/badge/cypress-12.8.1-brightgreen)](https://www.cypress.io/)
[![vite version](https://img.shields.io/badge/vite-4.2.0-brightgreen)](https://vitejs.dev/)
[![prettier version](https://img.shields.io/badge/prettier-2.8.4-brightgreen)](https://prettier.io/)
The faster, lighter and more compact set of JavaScript components for **Bootstrap 5**, sourced with TypeScript and free from major dependecies such as jQuery, Popper.
The **bootstrap.native** library is available on npm, CDN and comes packed with Cypress powered tests and other goodies.
The library is around ***39Kb*** minified and around ***12Kb*** gZipped. See <a href="http://thednp.github.io/bootstrap.native/">the demo</a> for components guidelines and examples, or the [Wiki/How to use](https://github.com/thednp/bootstrap.native/wiki/How-to-use) on how to install and use the library.
# Wiki
Check out the `bootstrap.native` Wiki pages, they're updated with almost every new commit:
* [Acknowledgements](https://github.com/thednp/bootstrap.native/wiki/Acknowledgements) - there are similarities and differences with the original library, good to know for maximizing your workflow.
* [How to use](https://github.com/thednp/bootstrap.native/wiki/How-to-use) - An in depth guide on how to use the library.
* [CDN Links](https://github.com/thednp/bootstrap.native/wiki/How-to-use#load-from-cdn) - use CDN links available on [jsdelivr](https://www.jsdelivr.com/package/npm/bootstrap.native)
* [Locally Hosted](https://github.com/thednp/bootstrap.native/wiki/How-to-use#working-locally) - download and copy in your project `assets/js` folder, then use proper markup to enable BSN on your pages
* [ES6+ Example](https://github.com/thednp/bootstrap.native/wiki/How-to-use#es6es7-basic-example) - modern application would like you to `import BSN from "bootstrap.native"`
* [NPM Installation](https://github.com/thednp/bootstrap.native/wiki/How-to-use#npm) - just execute `npm install bootstrap.native` or mark it as dependency and take it from there
* [Dynamic Content](https://github.com/thednp/bootstrap.native/wiki/How-to-use#dynamic-content) - use the library callbacks with your `turbolinks:load`, `mount`, `load` and similar events
* [RequireJS/CommonJS](https://github.com/thednp/bootstrap.native/wiki/How-to-use#requirejs-commonjs) - NodeJS applications would like you to `const BSN = require("bootstrap.native")`
* [Factory Methods](https://github.com/thednp/bootstrap.native/wiki/How-to-use#note-about-the-factory-methods) - for NodeJS apps you need to have `document` and `window` in scope
* [Browser support](https://github.com/thednp/bootstrap.native/wiki/Browser-support) - Enable legacy browsers support via polyfills.
* [FAQs](https://github.com/thednp/bootstrap.native/wiki/FAQs) - A short list of frequent asked questions regarding the use of the library.
* [About](https://github.com/thednp/bootstrap.native/wiki/About) - Learn about the `bootstrap.native` project, goals and motivations.
# Contributors
* Full contributors list [here](https://github.com/thednp/bootstrap.native/graphs/contributors). Thanks!
# License
The BSN library is released under the [MIT license](https://github.com/thednp/bootstrap.native/blob/master/LICENSE).
没有合适的资源?快使用搜索试试~ 我知道了~
Bootstrap组件使用Typescript构建_TypeScript_HTML_下载.zip
共149个文件
ts:100个
html:15个
js:7个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 175 浏览量
2023-04-21
11:02:46
上传
评论
收藏 677KB ZIP 举报
温馨提示
Bootstrap组件使用Typescript构建_TypeScript_HTML_下载.zip
资源推荐
资源详情
资源评论
收起资源包目录
Bootstrap组件使用Typescript构建_TypeScript_HTML_下载.zip (149个子文件)
bootstrap-native.cjs 40KB
.eslintrc.cjs 6KB
theme.css 4KB
prism-coy.css 4KB
prism.css 2KB
offcanvas.css 2KB
custom-elements.css 513B
.gitignore 129B
index-dev.html 254KB
index.html 254KB
scrollspy.html 8KB
modal.html 6KB
tooltip.html 5KB
collapse.html 4KB
tooltip-iframe.html 4KB
tab.html 4KB
carousel.html 4KB
dropdown.html 3KB
offcanvas.html 2KB
toast.html 2KB
popover.html 770B
alert.html 629B
button.html 445B
favicon.ico 1KB
bootstrap-native.js 40KB
bootstrap-native.js 40KB
scripts.js 13KB
prism.js 10KB
selectText.js 1KB
changeDirection.js 700B
custom-button.js 514B
package-lock.json 529KB
package.json 3KB
tsconfig.json 950B
.prettierrc.json 309B
LICENSE 1KB
bootstrap-native.mjs.map 268KB
bootstrap-native.cjs.map 261KB
bootstrap-native.js.map 261KB
bootstrap-native.js.map 261KB
README.md 4KB
bootstrap-native.mjs 62KB
.npmignore 152B
apple-touch-icon.png 4KB
dropdown.cy.ts 25KB
carousel.cy.ts 22KB
tooltip.cy.ts 20KB
carousel.ts 19KB
dropdown.ts 16KB
tooltip.ts 15KB
modal.ts 14KB
bootstrap-native.d.ts 13KB
offcanvas.ts 12KB
tab.ts 11KB
popover.cy.ts 10KB
toast.ts 8KB
scrollspy.ts 8KB
collapse.ts 8KB
modal.cy.ts 7KB
styleTip.ts 7KB
offcanvas.cy.ts 6KB
toast.cy.ts 5KB
collapse.cy.ts 5KB
tab.cy.ts 5KB
createTip.ts 5KB
scrollspy.cy.ts 4KB
alert.ts 3KB
button.cy.ts 3KB
alert.cy.ts 3KB
init.ts 3KB
scrollbar.ts 3KB
button.ts 3KB
backdrop.ts 3KB
popover.ts 2KB
base-component.ts 2KB
esbuild-istanbul.ts 2KB
popupContainer.ts 1KB
getElementContainer.ts 1KB
tsCompile.ts 1KB
setHtml.ts 1KB
getTargetElement.ts 915B
commands.ts 838B
index.ts 819B
cypress.config.ts 816B
isEmptyAnchor.ts 790B
tooltip.ts 713B
e2e.ts 710B
vite.config.ts 675B
getTipTemplate.ts 658B
tooltipDefaults.ts 494B
popover.ts 488B
carousel.ts 464B
dts.config.ts 457B
dropdown.ts 433B
offcanvas.ts 382B
toast.ts 365B
modal.ts 358B
tab.ts 357B
collapse.ts 353B
isVisible.ts 324B
共 149 条
- 1
- 2
资源评论
快撑死的鱼
- 粉丝: 1w+
- 资源: 9156
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功