Mercurial > hg > ugly-duckling
view src/app/analysis-item/analysis-item.component.ts @ 200:d7e4bba39d20
Moving towards defining an analysis item - it is already doing too much in terms of also describing the root audio.
author | Lucas Thompson <dev@lucas.im> |
---|---|
date | Fri, 24 Mar 2017 11:05:20 +0000 |
parents | a50feba0d7f0 |
children | 1db0bb28688b |
line wrap: on
line source
/** * Created by lucast on 21/03/2017. */ import {Component, Input} from "@angular/core"; import Waves from 'waves-ui'; export interface AnalysisItem { rootAudioUri: string; hasSharedTimeline: boolean; isRoot: boolean; extractorKey: string; title?: string; description?: string; } @Component({ selector: 'ugly-analysis-item', templateUrl: './analysis-item.component.html', styleUrls: ['./analysis-item.component.css'] }) export class AnalysisItemComponent { @Input() timeline: Timeline; @Input() title: string; @Input() description: string; @Input() isActive: boolean; @Input() isRoot: boolean; }