Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/karliatto/ng-boolean-directive


https://github.com/karliatto/ng-boolean-directive

Last synced: 2 days ago
JSON representation

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.