How to pass a string value to a component in angular

https://stackoverflow.com/questions/36220027/how-to-pass-a-string-value-to-a-component-in-angular2


String literals can be passed in different ways:
<component inputField="string"></component>
<component [inputField]="'string'"></component>
<component inputField="{{'string'}}"></component>

Không có nhận xét nào:

SO SÁNH 5 “ĐỨA CON AI” HOT NHẤT 2025

 https://www.facebook.com/AInews2023/posts/pfbid031usNyqqvstcDbFaRptkJmG3ReiTUUmGxGE5fp5PqPKqaseVRqVsoypKNS5CBRzNJl?__cft__[0]=AZUVx56Rvbt3n...