0 votes
in Angular by

Which option shows the correct use of Angular's property binding syntax?

1. <h2 [textContent]>{{ name }}</h2>

2. <h2 [textContent]='name'></h2>

3. <h2 [textContent]="name"></h2>

1 Answer

0 votes
by
Correct answer is : -<h2 [textContent]="name"></h2>
...