Visit complete Angular roadmap

← Back to Topics List

Binding data props attrs events

In an Angular template, a binding creates a live connection between view and the model and keeps them both in sync.

  • property: helps you set values for properties of HTML elements or directives.
  • attributes: helps you set values for attributes of HTML elements directly.
  • event: lets you listen for and respond to user actions such as keystrokes, mouse movements, clicks, and touches.
  • data: It’s a combination of property and event binding and helps you share data between components.

Visit the following resources to learn more:

Roadmaps Guides Videos About YouTube

roadmap.sh by Kamran Ahmed

Community created roadmaps, articles, resources and journeys to help you choose your path and grow in your career.

© roadmap.sh · FAQs · Terms · Privacy