Mercurial > hg > ugly-duckling
view src/app/app.component.ts @ 27:a50f0b7a3da3
Vertically align the larger play button in the center
author | Lucas Thompson <dev@lucas.im> |
---|---|
date | Tue, 29 Nov 2016 11:02:44 +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; } }