Angular @Directives @Input() binding properly binding type understanding

gaurangdhorda

GaurangDhorda

Posted on June 15, 2020

Angular @Directives @Input() binding properly binding type understanding

In angular when you use directive`s @input() without [ ] bracket, by default it is considered as HTML string property, and When set with [ ] is considered as javascript binding and we get actual what type we want to.

angular #javascript #angulartip #typescript

https://t.co/cEzWeRpgSR

Alt Text

💖 💪 🙅 🚩
gaurangdhorda
GaurangDhorda

Posted on June 15, 2020

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related