{"id":16227646,"url":"https://github.com/leafoftree/checkboxlist","last_synced_at":"2025-04-08T04:28:19.600Z","repository":{"id":98919245,"uuid":"128016027","full_name":"leafOfTree/checkboxList","owner":"leafOfTree","description":"AngularJS checkbox list plugin.","archived":false,"fork":false,"pushed_at":"2018-07-03T09:28:56.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-22T05:32:50.515Z","etag":null,"topics":["angularjs","checkbox","list"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/leafOfTree.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-04-04T06:15:11.000Z","updated_at":"2018-07-03T09:28:57.000Z","dependencies_parsed_at":"2023-04-10T09:01:55.659Z","dependency_job_id":null,"html_url":"https://github.com/leafOfTree/checkboxList","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leafOfTree%2FcheckboxList","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leafOfTree%2FcheckboxList/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leafOfTree%2FcheckboxList/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leafOfTree%2FcheckboxList/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leafOfTree","download_url":"https://codeload.github.com/leafOfTree/checkboxList/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247777876,"owners_count":20994366,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["angularjs","checkbox","list"],"created_at":"2024-10-10T12:53:23.938Z","updated_at":"2025-04-08T04:28:19.573Z","avatar_url":"https://github.com/leafOfTree.png","language":"JavaScript","readme":"# AngularJS checkbox list 指令\n\n## 介绍\n\n输入：数组类型选项\n\n生成：根据数组自动生成 checkbox 列表\n\n输出：选中项组成的数组\n\n## 使用 \n\n加入模块\n\n```javascript\nangular.module('yourapp', ['checkboxList'])\n    ...\n```\n\n在 HTML 中使用 `checkbox-list`\n\n```html\n\u003ccheckbox-list input='names' output='selectedNames' option='{initSelectAll: true}'\u003e\n```\n\n## 安装\n\n**git**\n\n    git clone https://github.com/leafOfTree/checkboxList\n\n**bower**\n\n    bower install https://github.com/leafOfTree/checkboxList.git\n\n添加 checkboxList.js 到项目中\n\n```html\n\u003cscript src=\"checkboxList/dist/checkboxList.js\"\u003e\u003c/script\u003e\n```\n\n## 配置\n\n- option\n\n    - initSelectAll: bool(default: false) 初始选中所有\n\n## 开发\n\n    git clone https://github.com/leafOfTree/checkboxList\n    cd checkboxList\n    npm install\n    npm start\n\n## 测试\n\n`./example/index.html`\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleafoftree%2Fcheckboxlist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleafoftree%2Fcheckboxlist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleafoftree%2Fcheckboxlist/lists"}