File tree Expand file tree Collapse file tree 1 file changed +17
-7
lines changed
modules/angular2/docs/core Expand file tree Collapse file tree 1 file changed +17
-7
lines changed Original file line number Diff line number Diff line change @@ -33,10 +33,12 @@ detail in following sections.
3333 <tr>
3434 <th>Text Interpolation</th>
3535 <td>
36- ` <div>{{exp}}</div> `
36+ ``` html
37+ <div >{{exp}}</div >
38+ ```
3739
3840Example:
39- ```
41+ ``` html
4042<div >
4143 Hello {{name}}!
4244 <br >
@@ -48,7 +50,7 @@ Example:
4850` <div [text|index]=exp> `
4951
5052Example:
51- ```
53+ ``` html
5254<div
5355 [text|0] =" 'Hello' + stringify(name) + '!' "
5456 [text|2] =" 'Goodbye' + stringify(name) + '!' " >
@@ -60,18 +62,26 @@ Example:
6062 <tr>
6163 <th>Property Interpolation</th>
6264 <td>
63- ` <div name="{{exp}}"> `
65+ ``` html
66+ <div name =" {{exp}}" >
67+ ```
6468
6569Example:
6670
67- ` <div class="{{selected}}"> `
71+ ``` html
72+ <div class =" {{selected}}" >`
73+ ```
6874 </td>
6975 <td>
70- ` <div [name]="stringify(exp)"> `
76+ ``` html
77+ <div [name] =" stringify(exp)" >
78+ ```
7179
7280Example:
7381
74- ` <div [class]="stringify(selected)"> `
82+ ``` html
83+ <div [class] =" stringify(selected)" >
84+ ```
7585 </td>
7686 </tr>
7787 <tr>
You can’t perform that action at this time.
0 commit comments