Databinding is communication between typescript with html.
- HOW(from Typescript to Html)
-string interpolation: {{ data }}
-property binding: [property] = "data"
- HOW(from Html to Typescript)
-event binding: (event) = "expression"
- HOW(combination)
-Two-Way-Binding: [(ngModel)] = "data"
'IT' 카테고리의 다른 글
| [angular] href VS routerlink (0) | 2018.03.18 |
|---|---|
| [angular] Router (0) | 2018.03.18 |
| [WEB] `와 '의 차이 (0) | 2018.03.16 |
| [Angular] How to add bootStrap in Angular App (0) | 2018.02.18 |
| [Angular] index.html, app-root, ngModule (0) | 2018.02.16 |