4 ms·
https://angular.io/guide/binding-overview https://angular.io/guide/binding-overview Haven't looked at angular since 2015 to be honest, but it still seems like
by diob 3y ago
https://angular.io/guide/binding-overview https://angular.io/guide/binding-overview
Haven't looked at angular since 2015 to be honest, but it still seems like they do weird html stuff to me, such as:
<ul>
<li *ngFor="let customer of customers">{{customer.name}}</li>
</ul>
or
<label>Type something:
<input #customerInput>{{customerInput.value}}
</label>
- Bilal_io 3y agoI agree with you, it looks weird, but my point was that it's correct HTML syntax, even though you cannot expect it to work if you open an Angular template in a browser, but an HTML parser can tell you it's syntactically correct.
- ttfkam 3y agoAngular will soon be migrating to the Svelte style of conditional flow control. https://github.com/angular/angular/discussions/50719 https://github.com/angular/angular/discussions/50719