Mercurial > hg > ugly-duckling
view src/app/app.component.ts @ 29:42c97f604d80
Fix type in tab label.
author | Lucas Thompson <dev@lucas.im> |
---|---|
date | Tue, 29 Nov 2016 12:00:07 +0000 |
parents | 1ff1b5bdeb9e |
children | f6ea31a3b1a3 |
line wrap: on
line source
import {Component, Inject} from '@angular/core'; @Component({ selector: 'app-root', templateUrl: './app.component.html', styleUrls: ['./app.component.css'] }) export class AppComponent { title = 'Ugly'; audioBuffer: AudioBuffer = undefined; constructor( @Inject('piper-server-uri') private serverUri ) {} onAudioLoaded(buffer: AudioBuffer) { this.audioBuffer = buffer; } }