Template Syntax Deep Dive — Binding, References, and Two-Way Data Flow
Question 1 / 1
0:00
Core
Medium
A ToggleComponent has @Input() isActive: boolean. In the parent template you write <app-toggle isActive="false"></app-toggle>. The component renders but isActive behaves as truthy inside ToggleComponent. What is happening?