@wistia/wistia-player
Version:
An embeddable wistia-player web component and React wrapper to add responsive, lightweight, and SEO-friendly videos to your site.
10 lines • 483 B
TypeScript
type EventCallback = (detail?: unknown) => void;
export declare const convertedEventNames: Record<string, string>;
export declare class EventShepherd {
private readonly convertedEventsMap;
addListener(eventName: string, element: HTMLElement, callback: EventCallback): void;
removeAllListeners(element: HTMLElement): void;
removeListener(eventName: string, element: HTMLElement, callback?: EventCallback): void;
}
export {};
//# sourceMappingURL=eventShepherd.d.ts.map