Mercurial > hg > ugly-duckling
view src/app/analysis-item/analysis-item.component.ts @ 205:b638c714bd1d
Implement pinch-zoom manually using touchevents, as HammerJS was preventing scrolling the page. This should also allow for smoother transitioning between gestures - needs testing on a device.
author | Lucas Thompson <dev@lucas.im> |
---|---|
date | Fri, 24 Mar 2017 15:27:07 +0000 |
parents | d7e4bba39d20 |
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; }