Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/leafoftree/checkboxlist
AngularJS checkbox list plugin.
https://github.com/leafoftree/checkboxlist
angularjs checkbox list
Last synced: about 20 hours ago
JSON representation
AngularJS checkbox list plugin.
- Host: GitHub
- URL: https://github.com/leafoftree/checkboxlist
- Owner: leafOfTree
- License: apache-2.0
- Created: 2018-04-04T06:15:11.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-07-03T09:28:56.000Z (over 6 years ago)
- Last Synced: 2024-11-11T03:41:58.348Z (about 1 month ago)
- Topics: angularjs, checkbox, list
- Language: JavaScript
- Size: 15.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AngularJS checkbox list 指令
## 介绍
输入:数组类型选项
生成:根据数组自动生成 checkbox 列表
输出:选中项组成的数组
## 使用
加入模块
```javascript
angular.module('yourapp', ['checkboxList'])
...
```在 HTML 中使用 `checkbox-list`
```html
```
## 安装
**git**
git clone https://github.com/leafOfTree/checkboxList
**bower**
bower install https://github.com/leafOfTree/checkboxList.git
添加 checkboxList.js 到项目中
```html
```
## 配置
- option
- initSelectAll: bool(default: false) 初始选中所有
## 开发
git clone https://github.com/leafOfTree/checkboxList
cd checkboxList
npm install
npm start## 测试
`./example/index.html`