UNPKG

videogular2

Version:

Videogular is a video application framework for desktop and mobile powered by Angular 2.0

33 lines (32 loc) 893 B
import { ElementRef, OnInit, OnDestroy } from '@angular/core'; import { VgAPI } from '../../core/services/vg-api'; import { Subscription } from 'rxjs/Subscription'; export declare class VgVolume implements OnInit, OnDestroy { API: VgAPI; vgFor: string; volumeBarRef: ElementRef; elem: HTMLElement; target: any; isDragging: boolean; mouseDownPosX: number; subscriptions: Subscription[]; constructor(ref: ElementRef, API: VgAPI); ngOnInit(): void; onPlayerReady(): void; onClick(event: { clientX: number; }): void; onMouseDown(event: { clientX: number; }): void; onDrag(event: { clientX: number; }): void; onStopDrag(event: { clientX: number; }): void; calculateVolume(mousePosX: number): number; setVolume(vol: number): void; getVolume(): number; ngOnDestroy(): void; }