Question from the Angular test

How to dynamize the aria-label attribute in Angular?

Medium

To dynamize the aria-label attribute, which syntax should I use?

Author: Emmanuel DemeyStatus: PublishedQuestion passed 2633 times
Edit
-1
Community Evaluations
developer avatar
Resat
05/06/2024
"expression typescript" serait plus precis.
developer avatar
Spelling / formatting error
Auteur anonyme
28/03/2024
Dashes are part of the answer or not ?❓?
developer avatar
Other
Danny
26/04/2024
[attr.aria-label]="{{js expression}}" is a correct answer but promotes the use of bad coding practices by not using property binding instead.