You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -808,8 +808,8 @@ You can download the PDF and Epub version of this repository from the latest run
808
808
**[⬆ Back to Top](#table-of-contents)**
809
809
810
810
25. ### What are template expressions?
811
-
A template expression produces a value similar to any Javascript expression. Angular executes the expression and assigns it to a property of a binding target; the target might be an HTML element, a component, or a directive. In the property binding, a template expression appears in quotes to the right of the = symbol as in [property]="expression".
812
-
In interpolation syntax, the template expression is surrounded by double curly braces. For example, in the below interpolation, the template expression is {{username}},
811
+
A template expression produces a value similar to any Javascript expression. Angular executes the expression and assigns it to a property of a binding target; the target might be an HTML element, a component, or a directive. In the property binding, a template expression appears in quotes to the right of the = symbol as in `[property]="expression"`.
812
+
In interpolation syntax, the template expression is surrounded by double curly braces. For example, in the below interpolation, the template expression is `{{username}}`,
813
813
814
814
```html
815
815
<h3>{{username}}, welcome to Angular</h3>
@@ -825,7 +825,7 @@ You can download the PDF and Epub version of this repository from the latest run
825
825
**[⬆ Back to Top](#table-of-contents)**
826
826
827
827
26. ### What are template statements?
828
-
A template statement responds to an event raised by a binding target such as an element, component, or directive. The template statements appear in quotes to the right of the = symbol like **(event)="statement"**.
828
+
A template statement responds to an event raised by a binding target such as an element, component, or directive. The template statements appear in quotes to the right of the = symbol like `(event)="statement"`.
829
829
830
830
Let's take an example of button click event's statement
0 commit comments