UNPKG

vidstack

Version:

Build awesome media experiences on the web.

7 lines (6 loc) 544 B
export declare function setAttributeIfEmpty(target: Element, name: string, value: string): void; export declare function setARIALabel(target: Element, label: () => string | null): void; export declare function isElementParent(owner: Element, node: Element | null, test?: (node: Element) => boolean): boolean; export declare function onPress(target: EventTarget, handler: (event: PointerEvent | KeyboardEvent) => void): void; export declare function scopedRaf(callback: () => void): void; export declare function repaint(el: HTMLElement): void;