feat: release v0.0.1
This commit is contained in:
26
dist/angular/index.d.ts
vendored
Normal file
26
dist/angular/index.d.ts
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
import { type VideoPlayerRuntimeEventMap, type VideoPlayerRuntimeInitOptions, type VideoPlayerRuntimeState, type VideoPlayerRuntimeUnsubscribe, type VideoPlayerRuntimeUpdateOptions } from "../core";
|
||||
export interface AngularVideoPlayerInput extends Omit<VideoPlayerRuntimeUpdateOptions, "source"> {
|
||||
source?: VideoPlayerRuntimeInitOptions["source"];
|
||||
}
|
||||
export interface AngularVideoPlayerAttachInput extends Omit<VideoPlayerRuntimeInitOptions, "container"> {
|
||||
}
|
||||
export interface AngularVideoPlayerState {
|
||||
input: AngularVideoPlayerInput;
|
||||
runtime: VideoPlayerRuntimeState;
|
||||
}
|
||||
export declare class AngularVideoPlayerAdapter {
|
||||
private readonly runtime;
|
||||
private input;
|
||||
attach(container: HTMLElement, input: AngularVideoPlayerAttachInput): Promise<{
|
||||
input: AngularVideoPlayerInput;
|
||||
runtime: VideoPlayerRuntimeState;
|
||||
}>;
|
||||
update(nextInput: AngularVideoPlayerInput): Promise<{
|
||||
input: AngularVideoPlayerInput;
|
||||
runtime: VideoPlayerRuntimeState;
|
||||
}>;
|
||||
on<K extends keyof VideoPlayerRuntimeEventMap>(event: K, handler: (payload: VideoPlayerRuntimeEventMap[K]) => void): VideoPlayerRuntimeUnsubscribe;
|
||||
destroy(): void;
|
||||
getState(): AngularVideoPlayerState;
|
||||
}
|
||||
//# sourceMappingURL=index.d.ts.map
|
||||
Reference in New Issue
Block a user