O'Reilly logo

Learning Angular for .NET Developers by Rajesh Gunasundaram

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

One-way binding

Binding types such as Interpolation, Property, Attribute, Class, and Style support one-way data flow from the data source (exposed from the component) to a view or template. Template markups that let the data flow from a component property or method to a template are given in the following table (one-way binding):

Template code

Description

{{expression}}

This displays the expression built from the data source

[target] = "expression"

This assigns the expression of a data source to the target property

bind-target = "expression"

This assigns the expression of a data source to the bind-target attribute

Template markups that let data flow from a template to a component property or method are given in ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required