Release 0.4

I am very happy to participate in the course of the OSD600. It helps me learn more useful knowledge, I am addicted to learning in GitHub, if I have problems, there are many people who can help me, the same, when others encounter problems, participate in the discussion and solve the problem This makes me feel very fulfilling.

In this project, I tried to solve a few problems with JavaScript. It is likely to be used in building user interfaces. It enables easy creation of powerful single page applications. It derives its basic use in creating the view layer for any web application.

This is the PR link:

https://github.com/prashanth6708/praenttochild/pull/3

 

another way to set value in child component, easy for debugging

use @Input() set setValue(value) {
this.value = value;
}

 value can be set to any type, string, boolean, number, array, object, etc.
 the lifecycle for @Input() is the same as ngOnChange (after constructor and before ngOnInit)
value = ”;

This is my screenshot

 

OHPG`2`19OZF@2$@(D@Q20Z.png

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s