Use of @Input in Angular 6+

According to official angular documentation it declares a data-bound input property.

Let's have a look at this simple example.


Example

The following example creates a component with two input properties.


See the Pen
ErwOgM
by Adam Bielecki (@adambielecki)
on CodePen.




Comments

  1. I am really enjoying reading your well written articles.
    It looks like you spend a lot of effort and time on your blog.
    I have bookmarked it and I am looking forward to reading new articles. Keep up the good work..
    ccna Training in Chennai
    ccna Training institute in Chennai
    Angularjs Course in Chennai
    Ethical Hacking Course in Chennai
    Tally Course in Chennai
    ccna course in chennai
    ccna training in chennai

    ReplyDelete

Post a Comment