>

CODEMASTERYLAB

IDE PLATFORM
CoursesCommunity BlogsKnowledge GraphQuizzesInterview Prep

Sign in to track progress & earn XP

Sign In Create Account
>
Code Mastery Lab

Code Mastery Lab

Sign In

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?