UNPKG

videogular2

Version:

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

24 lines (23 loc) 655 B
import { ElementRef, OnInit, OnDestroy } from '@angular/core'; import { VgAPI } from '../../core/services/vg-api'; import { Subscription } from 'rxjs'; 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[]; ariaValue: string; constructor(ref: ElementRef, API: VgAPI); ngOnInit(): void; onPlayerReady(): void; selectTrack(trackId: string): void; ngOnDestroy(): void; }