Recap

In this building block, we cleaned up our component tree and established clean encapsulation using subcomponents. Then, we set up the interfaces provided by Angular using input bindings. We performed these actions by following the ensuing steps:

  1. We created a task subcomponent
  2. We used the task subcomponent with the task list component
  3. We used input bindings and DOM element property bindings to establish one-way data binding in the task component

Get Mastering Angular Components now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.