Mercurial > hg > ugly-duckling
view src/app/notebook-feed/notebook-feed.component.ts @ 171:9556954478f2
Introduce a component representing a feed of analyses on an audio file. A collection of analysis items. Basically a placeholder right now.
author | Lucas Thompson <dev@lucas.im> |
---|---|
date | Tue, 21 Mar 2017 17:10:59 +0000 |
parents | |
children | 539dd65d56ea |
line wrap: on
line source
/** * Created by lucast on 21/03/2017. */ import {Component, Input} from "@angular/core"; @Component({ selector: 'ugly-notebook-feed', templateUrl: './notebook-feed.component.html', styleUrls: ['./notebook-feed.component.css'] }) export class NotebookFeedComponent { private _audioBuffer: AudioBuffer; @Input() set audioBuffer(buffer: AudioBuffer) { this._audioBuffer = buffer || undefined; if (this.audioBuffer) { } } get audioBuffer(): AudioBuffer { return this._audioBuffer; } }