Mercurial > hg > ugly-duckling
comparison src/app/visualisations/curve/curve.component.ts @ 359:c8a585de46ac
Add skeleton for a curve component.
author | Lucas Thompson <dev@lucas.im> |
---|---|
date | Tue, 30 May 2017 15:06:11 +0100 |
parents | |
children | f122bb02c428 |
comparison
equal
deleted
inserted
replaced
358:0e20af8a4065 | 359:c8a585de46ac |
---|---|
1 /** | |
2 * Created by lucas on 30/05/2017. | |
3 */ | |
4 import {WavesComponent} from "../waves-base.component"; | |
5 import {ChangeDetectionStrategy, Component} from "@angular/core"; | |
6 | |
7 @Component({ | |
8 selector: 'ugly-curve', | |
9 // templateUrl: '../waves-template.html', | |
10 template: `<div #track class="track"><span>Curve</span></div>`, | |
11 styleUrls: ['../waves-template.css'], | |
12 changeDetection: ChangeDetectionStrategy.OnPush | |
13 }) | |
14 export class CurveComponent extends WavesComponent { | |
15 | |
16 } |