Mercurial > hg > ng2-query-ismi
annotate app/query-result.component.ts @ 4:351c3df28602
work on result component.
author | casties |
---|---|
date | Wed, 13 Jan 2016 16:01:47 +0100 |
parents | |
children | b06a5d61afed |
rev | line source |
---|---|
4 | 1 import {Component, OnInit} from 'angular2/core'; |
2 | |
3 @Component({ | |
4 selector: 'query-result', | |
5 template: ` | |
6 <p>Query result: {{queryState}}</p> | |
7 ` | |
8 }) | |
9 | |
10 export class QueryResultComponent implements OnInit { | |
11 | |
12 public queryState; | |
13 | |
14 ngOnInit() { | |
15 this.setup(); | |
16 } | |
17 | |
18 setup() { | |
19 } | |
20 | |
21 } |