tsvetan-ganev / angular-type-coercion-decorators

Angular 13 project that showcases the use of custom decorator functions that enable automatic type coercion for input properties inside components.

Home Page:https://tsvetan.dev/blog/article/property-type-coercion-in-angular-using-decorators/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About the project

This project showcases the usage of custom decorator functions that enable @Input properties type coercion in Angular components. You can read more about the topic in the article on my website.

This project was generated with Angular CLI version 13.3.2.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The application will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory.

About

Angular 13 project that showcases the use of custom decorator functions that enable automatic type coercion for input properties inside components.

https://tsvetan.dev/blog/article/property-type-coercion-in-angular-using-decorators/


Languages

Language:TypeScript 91.7%Language:HTML 6.5%Language:CSS 1.8%