diff options
author | Phil <phil.buschmann@tum.de> | 2018-05-19 22:58:53 +0200 |
---|---|---|
committer | Phil <phil.buschmann@tum.de> | 2018-05-19 22:58:53 +0200 |
commit | 4c01dd54cc3c68ddfd700d586fad000df075506f (patch) | |
tree | 954bbb370ce9b7c9b4cc494ee862e550f34766fb /src/app/heroes/heroes.component.ts | |
parent | 57efd4f24d238ca649ef25e9922b7f64fa4cc417 (diff) | |
download | gnunet-webui-4c01dd54cc3c68ddfd700d586fad000df075506f.tar.gz gnunet-webui-4c01dd54cc3c68ddfd700d586fad000df075506f.zip |
-wip service/routing design
Diffstat (limited to 'src/app/heroes/heroes.component.ts')
-rw-r--r-- | src/app/heroes/heroes.component.ts | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/app/heroes/heroes.component.ts b/src/app/heroes/heroes.component.ts new file mode 100644 index 0000000..0f72ae9 --- /dev/null +++ b/src/app/heroes/heroes.component.ts | |||
@@ -0,0 +1,20 @@ | |||
1 | import { Component, OnInit } from '@angular/core'; | ||
2 | import { Hero } from '../hero'; | ||
3 | |||
4 | @Component({ | ||
5 | selector: 'app-heroes', | ||
6 | templateUrl: './heroes.component.html', | ||
7 | styleUrls: ['./heroes.component.scss'] | ||
8 | }) | ||
9 | export class HeroesComponent implements OnInit { | ||
10 | hero: Hero ={ | ||
11 | id: 1, | ||
12 | name: 'Windstorm' | ||
13 | }; | ||
14 | |||
15 | constructor() { } | ||
16 | |||
17 | ngOnInit() { | ||
18 | } | ||
19 | |||
20 | } | ||