mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
Simple hello world web component
This commit is contained in:
@@ -5,10 +5,13 @@ import {Component} from "angular2/core";
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<h1>Page 2</h1>
|
||||
<input [(ngModel)]="username">
|
||||
<span>Username: {{username}}</span>
|
||||
<hello-world [who]="username"></hello-world>
|
||||
</div>
|
||||
</div>
|
||||
`
|
||||
})
|
||||
export class Page2View {
|
||||
|
||||
username: string = 'Unicorn';
|
||||
}
|
||||
|
Reference in New Issue
Block a user