{"id":15063531,"url":"https://github.com/nth-cloud/ng-toggle","last_synced_at":"2025-04-10T11:12:01.082Z","repository":{"id":27470897,"uuid":"113945620","full_name":"nth-cloud/ng-toggle","owner":"nth-cloud","description":"Bootstrap-styled Angular Toggle Component","archived":false,"fork":false,"pushed_at":"2023-10-27T06:08:41.000Z","size":12403,"stargazers_count":14,"open_issues_count":0,"forks_count":11,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-14T13:19:30.003Z","etag":null,"topics":["angular","angular2","angular4","angular5","angular6","bootstrap","bootstrap4","switch","toggle"],"latest_commit_sha":null,"homepage":"http://nth-cloud.github.io/ngx-toggle","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/nth-cloud.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2017-12-12T05:02:38.000Z","updated_at":"2024-06-20T23:23:40.347Z","dependencies_parsed_at":"2024-06-20T23:23:12.210Z","dependency_job_id":"074a96ac-83b6-4949-abed-5d7a9514f936","html_url":"https://github.com/nth-cloud/ng-toggle","commit_stats":{"total_commits":152,"total_committers":7,"mean_commits":"21.714285714285715","dds":"0.13157894736842102","last_synced_commit":"49f9608b9b3ecd496a5507ff83b57f3f741ff99b"},"previous_names":["ngx-toggle/ngx-toggle"],"tags_count":28,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nth-cloud%2Fng-toggle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nth-cloud%2Fng-toggle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nth-cloud%2Fng-toggle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nth-cloud%2Fng-toggle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nth-cloud","download_url":"https://codeload.github.com/nth-cloud/ng-toggle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248208563,"owners_count":21065202,"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","angular2","angular4","angular5","angular6","bootstrap","bootstrap4","switch","toggle"],"created_at":"2024-09-25T00:04:05.804Z","updated_at":"2025-04-10T11:12:01.063Z","avatar_url":"https://github.com/nth-cloud.png","language":"TypeScript","readme":"# NG-TOGGLE\n\n### Native Angular components \u0026 directives for Bootstrap-styled Toggle Switch\n\n[![CodeQL](https://github.com/nth-cloud/ng-toggle/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/nth-cloud/ng-toggle/actions/workflows/codeql-analysis.yml)\n[![npm version](https://badge.fury.io/js/%40nth-cloud%2Fng-toggle.svg)](https://badge.fury.io/js/%40nth-cloud%2Fng-toggle)\n[![Test Coverage](https://github.com/nth-cloud/ng-toggle/actions/workflows/ci-tests.yml/badge.svg)](https://github.com/nth-cloud/ng-toggle/actions/workflows/ci-tests.yml)\n[![codecov](https://codecov.io/gh/nth-cloud/ng-toggle/branch/master/graph/badge.svg)](https://codecov.io/gh/nth-cloud/ng-toggle)\n[![Sauce Test Status](https://saucelabs.com/browser-matrix/ng-toggle.svg)](https://saucelabs.com/u/ng-toggle)\n\nAngular Toggle component using [Bootstrap CSS](https://www.getbootstrap.com) that can be used as a standalone toggle or can convert checkboxes into UI toggles.\n\nPlease check our [demo site](https://nth-cloud.github.io/ng-toggle) and the list of\n[issues](https://github.com/nth-cloud/ng-toggle/issues) to see all the things we are working on. Feel free to make comments there.\n\n## Table of Contents\n\n- [Demo](#demo)\n- [Dependencies](#dependencies)\n- [Installation](#installation)\n- [Supported browsers](#supported-browsers)\n- [Getting help](#getting-help)\n- [Do you think you've found a bug?](#do-you-think-youve-found-a-bug)\n- [Contributing to the project](#contributing-to-the-project)\n- [Code of conduct](#code-of-conduct)\n-\n\n## Demo\n\nView it in action at https://nth-cloud.github.io/ng-toggle\n\n## Dependencies\n\n- [Angular](https://angular.io) (tested with 15.2.10)\n- [Bootstrap](https://www.getbootstrap.com) CSS (tested with 5.3.2)\n  The supported versions are:\n\n| ng-toggle | Angular | Bootstrap CSS |   Active Support   |\n| --------- | ------- | ------------- | :----------------: |\n| 6.x.x     | 10.0.0  | 4.0.0         |        :x:         |\n| 7.x.x     | 11.0.0  | 4.0.0         |        :x:         |\n| 8.x.x     | 12.0.0  | 4.0.0         |        :x:         |\n| 9.x.x     | 13.0.0  | 4.0.0         |        :x:         |\n| 10.x.x    | 14.0.0  | 4.0.0         | :white_check_mark: |\n| 11.x.x    | 15.0.0  | 5.0.0         | :white_check_mark: |\n\n## Installation\n\nWe strongly recommend using [Angular CLI](https://cli.angular.io) for setting up a new project. If you have an Angular CLI\nproject, you could simply use our schematics to add ng-toggle library to it.\n\nJust run the following:\n\n```shell\nng add @nth-cloud/ng-toggle\n```\n\nIt will install ng-toggle for the default application specified in your `angular.json`.\nIf you have multiple projects and you want to target a specific application, you could specify the `--project` option:\n\n```shell\nng add @nth-cloud/ng-toggle --project myProject\n```\n\n## Manual Installation\n\nIf you wish to install `ng-toggle` manually, be sure to install Bootstrap v4+, then run:\n\n```shell\nnpm install --save @nth-cloud/ng-toggle\n```\n\nIf you prefer not to use schematics and install everything manually, please refer to the\n[manual installation instructions](https://nth-cloud.github.io/ng-toggle/#/getting-started#installation) on our website.\n\n## Supported browsers\n\nWe support the same browsers and versions supported by both Bootstrap 4 and Angular, whichever is _more_ restrictive.\nSee [Angular Browser Support](https://github.com/angular/angular/blob/master/README.md) and [Bootstrap browser support](https://getbootstrap.com/docs/5.3/getting-started/browsers-devices/) for more details.\n\nOur code is automatically tested on all supported browsers.\n\n## Getting help\n\nPlease, do not open issues for the general support questions as we want to keep GitHub issues for bug reports and feature requests. You've got much better chances of getting your question answered on [StackOverflow](http://stackoverflow.com/questions/tagged/ng-toggle) where maintainers are looking at questions tagged with `ng-toggle`.\n\nStackOverflow is a much better place to ask questions since:\n\n- there are hundreds of people willing to help on StackOverflow\n- questions and answers stay available for public viewing so your question/answer might help someone else\n- Stack Overflow's voting system assures that the best answers are prominently visible.\n\nTo save your and our time we will be systematically closing all the issues that are requests for general support and redirecting people to StackOverflow.\n\n## Do you think you've found a bug?\n\nWe want to fix it ASAP! But before fixing a bug we need to reproduce and confirm it.\n\nWe ask you to respect two things:\n\n- fill the GitHub issue template by providing the bug description and appropriate versions of Angular, ng-toggle and TypeScript\n- provide a use-case that fails with a **minimal reproduction scenario** using [StackBlitz](https://stackblitz.com) (you can start by forking one from our [demo page](https://nth-cloud.github.io/ng-toggle/#/docs/examples))\n\nA minimal reproduction scenario allows us to quickly confirm a bug (or point out a coding problem) as well as confirm that we are fixing the right problem.\n\nPlease note that **we will be insisting on a minimal reproduction scenario** in order to save maintainers time and ultimately be able to fix more bugs. We'll mark the issue as non-actionable without it and close if not heard from the reporter.\n\nInterestingly, from our experience users often find coding problems themselves while preparing a minimal StackBlitz. We understand that sometimes it might be hard to extract essential bits of code from a larger code-base but we really need to isolate the problem before we can fix it.\n\n## Contributing to the project\n\nPlease check [DEVELOPER.md](DEVELOPER.md) for documentation on running the project locally and [CONTRIBUTING.md](CONTRIBUTING.md) for contribution guidelines.\n\n## Code of conduct\n\nPlease take a moment and read our [Code of Conduct](CODE_OF_CONDUCT.md)\n\n### Big Thanks\n\nCross-browser Testing Platform and Open Source \u003c3 Provided by [Sauce Labs](https://saucelabs.com)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnth-cloud%2Fng-toggle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnth-cloud%2Fng-toggle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnth-cloud%2Fng-toggle/lists"}