loading...

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

gaurangdhorda profile image GaurangDhorda ・1 min read

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

Discussion

markdown guide