Loading topic
$event with6 min read[prop]="expr") and event binding ((event)="handler($event)") from the earlier chapters. You should also be comfortable reading a component class written in TypeScript. Two-way binding is built entirely from those two forms. Once you see how6 min read[(x)] is shorthand for a property binding [x] plus an event binding (xChange). Native HTML elements have no value/valueChange pair that follows this naming rule, so Angular ships a directive that adds one: NgModel. This chapter explains how ngModel work5 min read@Input marks a property the parent can bind into. `@Out5 min read@if and @for blocks are available).5 min read@Input and @Output and on using signals in templates. You should be comfortable with signal(), computed(), and calling a signal in a template with count(). The examples need Angular 17.3 or later. These APIs became stable in Angula6 min read[(ngModel)] on form controls and seen model() in passing. This chapter shows how to make your own components accept the banana-in-a-box syntax, [(value)]="field". It covers the decorator-based convention, the model() API, and the mistakes that cause silent desync or cha5 min read