Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/karliatto/ng-boolean-directive
https://github.com/karliatto/ng-boolean-directive
Last synced: 2 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/karliatto/ng-boolean-directive
- Owner: karliatto
- Created: 2018-02-07T10:05:04.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-08-03T14:02:18.000Z (over 6 years ago)
- Last Synced: 2024-11-14T15:46:21.013Z (2 months ago)
- Language: TypeScript
- Size: 87.9 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# NgBooleanDirective
Creates a custom checkbox input type form control directive that integrates with Angular forms.
How to use [ControlValueAccessor](https://angular.io/api/forms/ControlValueAccessor) acts as a bridge between the Angular forms API and a native element in the DOM.
## Development server
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
## Build
Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `-prod` flag for a production build.