Angular 22 · Components and templates
Bind a property
Set an element property from a component value.
<button [disabled]="!form.valid">Submit</button>
Official Angular 22 documentation
More components and templates commands
- Write a standalone component
- Pass data in and out
- Show content conditionally
- Loop over items
- Handle an event
- Toggle a CSS class
All components and templates commands · Angular 22 cheatsheet