https://github.com/singhdigamber/component-interaction-input-angular
Angular 7 @Input Decorator – Learn to send data from parent component to child component using @Input angular api.
https://github.com/singhdigamber/component-interaction-input-angular
angular angular7 component-based
Last synced: 11 months ago
JSON representation
Angular 7 @Input Decorator – Learn to send data from parent component to child component using @Input angular api.
- Host: GitHub
- URL: https://github.com/singhdigamber/component-interaction-input-angular
- Owner: SinghDigamber
- Created: 2019-03-03T18:11:21.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-03T18:38:52.000Z (almost 7 years ago)
- Last Synced: 2025-01-15T06:51:03.792Z (about 1 year ago)
- Topics: angular, angular7, component-based
- Language: TypeScript
- Homepage: https://www.positronx.io/angular-7-input-decorator-send-data-from-parent-to-child-component
- Size: 105 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# @Input() Angular
This is a small tutorial which talks about sending data from parent component to child component using @Input() API in Angular 7.
## Step by Step Blog
[Angular 7 @Input Decorator – Send Data From Parent to Child Component](https://www.positronx.io/angular-7-input-decorator-send-data-from-parent-to-child-component/)
## 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.
## 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. Use the `--prod` flag for a production build.
## Running unit tests
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
## Running end-to-end tests
Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
## Further help
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).