in Angular by

Why are single quotes used around the classes in the following code snippet?

"{ 'medium-movies': , 'medium-series': }"

1. because the dash is valid in an object property

2. to give components properties that you want to expose when using the component

3. to call the built-in properties from the DOM on existing elements

4. because the dash is not valid in an object property

1 Answer

0 votes
by
Correct Answer is :- because the dash is not valid in an object property
...