Bindings
Binding types - by the direction of data flow
Binding types can be grouped into three categories distinguished by the direction of data flow:
source-to-view ( [ ], bind- )
view-to-source ( (), on- )
view-to-source-to-view ( [()], bindon- )
The target name is the name of a property. It may look like the name of an attribute but it never is.
Binding Types - Target


HTML attributes & DOM properties
Attributes are defined by HTML. Properties are defined by the DOM (Document Object Model).
A few HTML attributes have 1:1 mapping to properties.
idis one example.Some HTML attributes don't have corresponding properties.
colspanis one example.Some DOM properties don't have corresponding attributes.
textContentis one example.Many HTML attributes appear to map to properties
HTML AttributesinitializeDOM propertiesand then they are done.DOM Propertyvalues can change;HTML attributevalues can't.
Last updated
Was this helpful?