Skip to content

Glossary: Angular Basics

Attribute binding

Also written: [attr.x]

A binding like `[attr.aria-label]="..."` that sets an HTML attribute that has no matching DOM property.

Where the book teaches it