Example of view and class logic files swapped (#28928)
The file containing class logic usually resides in the *.component.ts file and the view container in the *.component.html. The examples were switched around.
This commit is contained in:
committed by
Randell Dawson
parent
3bb3ea1a98
commit
7790535664
@@ -6,7 +6,7 @@ title: Data Binding
|
||||
|
||||
#### Motivation
|
||||
|
||||
Data often defines the look of an application. Interpreting that data into the user interface involves class logic (`.component.html`) and a template view (`.component.ts`) . Angular connects them through data binding. Think of data binding as a tool for component interaction.
|
||||
Data often defines the look of an application. Interpreting that data into the user interface involves class logic (`*.component.ts`) and a template view (`*.component.html`) . Angular connects them through data binding. Think of data binding as a tool for component interaction.
|
||||
|
||||
#### Component and Template
|
||||
|
||||
|
Reference in New Issue
Block a user