comparison src/app/visualisations/waveform/waves-ui-piper.d.ts @ 354:a9ce5516c17d

Introduce an abstract base class for components using waves-ui.
author Lucas Thompson <dev@lucas.im>
date Fri, 26 May 2017 18:17:31 +0100
parents 82d476b976e0
children
comparison
equal deleted inserted replaced
353:02e7be2daf31 354:a9ce5516c17d
36 offset: number; 36 offset: number;
37 duration: number; 37 duration: number;
38 stretchRatio: number; 38 stretchRatio: number;
39 yDomain: number[]; 39 yDomain: number[];
40 opacity: number; 40 opacity: number;
41 timeContext: any; // TODO
41 readonly timeToPixel: () => (time: number) => number; 42 readonly timeToPixel: () => (time: number) => number;
42 readonly valueToPixel: () => (value: number) => number; 43 readonly valueToPixel: () => (value: number) => number;
43 readonly items: Element[]; 44 readonly items: Element[];
44 readonly selectedItems: Element[]; 45 readonly selectedItems: Element[];
45 data: ArrayLike<any> | Object; 46 data: ArrayLike<any> | Object;
93 PrefilledMatrixEntity: PrefilledMatrixEntityConstructor; 94 PrefilledMatrixEntity: PrefilledMatrixEntityConstructor;
94 scales: any; 95 scales: any;
95 } 96 }
96 97
97 type Timeline = any; 98 type Timeline = any;
99 type Track = any; // TODO
98 100
99 interface Core { 101 interface Core {
100 Layer: LayerConstructor; 102 Layer: LayerConstructor;
101 LayerTimeContext: any; // TODO 103 LayerTimeContext: any; // TODO
102 Timeline: Timeline; // TODO 104 Timeline: Timeline; // TODO