My Blog

My WordPress Blog

My Blog

My WordPress Blog

06. Angular Binding

Attribute Binding

What is Attribute Binding? Attribute binding helps to set the value for the attribute of the HTML element. Angular exposes attributes of the HTML element with a matching property with the attribute name converted into camelCase. For example, the colspan attribute’s corresponding angular property is colSpan. Even though, angular tries to provide all HTML elements […]

Data Binding

Data Binding is the process of connecting a target (such as a DOM element, property, or event) in a template to a model (data or behavior) in the component. This process lets the template to dynamically reflect changes in the component’s state or execute actions based on user interactions, using template expressions or template statements. In Angular, data binding is […]

Scroll to top