UNPKG

videogular2

Version:

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

24 lines (23 loc) 679 B
/// <reference types="core-js" /> import { ElementRef, OnInit, OnDestroy } from '@angular/core'; import { VgAPI } from '../../core/services/vg-api'; import { Subscription } from 'rxjs/Subscription'; export interface Option { id: string; label: string; selected: boolean; } export declare class VgTrackSelector implements OnInit, OnDestroy { API: VgAPI; vgFor: string; elem: HTMLElement; target: any; tracks: Array<Option>; trackSelected: string; subscriptions: Subscription[]; constructor(ref: ElementRef, API: VgAPI); ngOnInit(): void; onPlayerReady(): void; selectTrack(trackId: string): void; ngOnDestroy(): void; }