mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
Fixed component binding
This commit is contained in:
@@ -7,7 +7,7 @@ import {Component} from "angular2/core";
|
|||||||
<h1>Page 2</h1>
|
<h1>Page 2</h1>
|
||||||
<input [(ngModel)]="username">
|
<input [(ngModel)]="username">
|
||||||
<span>Username: {{username}}</span>
|
<span>Username: {{username}}</span>
|
||||||
<hello-world [who]="username"></hello-world>
|
<hello-world [attr.who]="username"></hello-world>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
`
|
`
|
||||||
|
Reference in New Issue
Block a user