Direction: Choose the correct option
Q1.
What does `[ngSwitch]` directive do?
Direction: Choose the correct option
Q2.
How do you define a case in `ngSwitch`?
Direction: Choose the correct option
Q3.
What is the default case in `ngSwitch`?
Direction: Choose the correct option
Q4.
Consider: `` with `color='blue'`. What renders?
Red
Other
Direction: Choose the correct option
Q5.
Can multiple `*ngSwitchCase` match simultaneously?
Direction: Choose the correct option
Q6.
What is the difference between `ngSwitch` and `*ngIf` chain?
Direction: Choose the correct option
Q7.
Can you use `ngSwitch` with strings?
Direction: Choose the correct option
Q8.
What happens if no case matches and no default is provided?
Direction: Choose the correct option
Q9.
How is `ngSwitch` syntax different from `*ngIf`?
Direction: Choose the correct option
Q10.
Can you use `ngSwitch` with `ngFor` on the same element?
