{"id":21827499,"url":"https://github.com/laixiangran/e-ngx-checked","last_synced_at":"2026-05-11T03:34:47.460Z","repository":{"id":57218015,"uuid":"95530318","full_name":"laixiangran/e-ngx-checked","owner":"laixiangran","description":"基于Angular的切换复选框状态组件","archived":false,"fork":false,"pushed_at":"2018-11-15T01:44:19.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-28T09:25:04.834Z","etag":null,"topics":["angular","checkbox"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/laixiangran.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-06-27T07:29:46.000Z","updated_at":"2018-04-24T05:08:06.000Z","dependencies_parsed_at":"2022-08-28T21:40:45.257Z","dependency_job_id":null,"html_url":"https://github.com/laixiangran/e-ngx-checked","commit_stats":null,"previous_names":["laixiangran/essence-ng2-checked"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laixiangran%2Fe-ngx-checked","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laixiangran%2Fe-ngx-checked/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laixiangran%2Fe-ngx-checked/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laixiangran%2Fe-ngx-checked/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/laixiangran","download_url":"https://codeload.github.com/laixiangran/e-ngx-checked/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244796274,"owners_count":20511671,"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":["angular","checkbox"],"created_at":"2024-11-27T18:13:21.747Z","updated_at":"2026-05-11T03:34:47.417Z","avatar_url":"https://github.com/laixiangran.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# e-ngx-checked\n\n基于Angular的切换复选框状态组件。\n\n## Usage\n\n1. Install\n\n\t```shell\n\tnpm install --save e-ngx-checked@latest\n\t```\n\n3. Add the ENgxCheckedModule\n\n\t```typescript\n\timport {ENgxCheckedModule} from \"e-ngx-checked\";\n\t@NgModule({\n\t    imports: [\n\t        ENgxCheckedModule\n\t    ]\n\t})\n\t```\n\n4. Use in Template\n\n\t```html\n\t\u003cinput [eNgxChecked]=\"checked\" type=\"checkbox\"\u003e\n\t```\n\n5. Use in Component\n\n\t```typescript\n\tchecked: number = 0; // or 1 or 2\n\t```\n\n## API\n\n### exportAs\n\n- `eNgxChecked` - 导出的指令变量，可在模板获取指令类并调用（`#eNgxChecked=\"eNgxChecked\"`）。\n\n### Inputs\n\n- `eNgxChecked`（`number`） - 复选框的状态值，可取：0（未选中），1（待确定），2（已选中）\n\n## Develop\n\n\t```shell\n\tnpm install // 安装依赖包\n\t\n\tnpm start // 启动项目\n\t```\n\n# License\n\n[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat)](/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaixiangran%2Fe-ngx-checked","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flaixiangran%2Fe-ngx-checked","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaixiangran%2Fe-ngx-checked/lists"}