Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/blueskyawen/boot-shadow
文档-Demo
https://github.com/blueskyawen/boot-shadow
boot-shadow jquery jquery-library jquery-plugin jquery-ui
Last synced: 29 days ago
JSON representation
文档-Demo
- Host: GitHub
- URL: https://github.com/blueskyawen/boot-shadow
- Owner: blueskyawen
- License: mit
- Created: 2018-09-16T12:47:47.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T13:43:43.000Z (about 2 years ago)
- Last Synced: 2024-04-23T19:38:40.524Z (9 months ago)
- Topics: boot-shadow, jquery, jquery-library, jquery-plugin, jquery-ui
- Language: JavaScript
- Homepage: https://blueskyawen.com/boot-shadow
- Size: 4.2 MB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Boot-Shadow
这是一个Jquery插件集合,封装了常用的一些UI组件,安装方便,使用简单,只要了解一点html,css和jquery的知识即可使用,不了解也可参考文档和实例引入使用
# 特性
- npm打包发布,下载方便
- 引用脚本后直接使用
- 常用插件,使用方式多样# 文档-Demo
[http://blueskyawen.com/boot-shadow/](http://blueskyawen.com/boot-shadow/)
[https://blueskyawen.com/boot-shadow/](https://blueskyawen.com/boot-shadow/) (支持PWA)
# 支持环境
现代浏览器和 IE9 及以上(需要 polyfills)
# 下载方式
npm install boot-shadow --save-dev
# 使用方式
### 直接引用脚本和CSS样式文件
### 在Angular-cli中使用npm install jquery --save
npm install @types/jquery --save
npm install boot-shadow --save-dev更新.angular-cli.json配置
"styles": [
"../node_modules/boot-shadow/dist/bootshadow.min.css"
],
"scripts": [
"../node_modules/jquery/dist/jquery.js",
"../node_modules/boot-shadow/dist/bootshadow.min.js"
],
在对应component中的ngOnInit()使用declare var $: any;
ngOnInit() {
$("#switch2").bootSwitch();
}