ranui
Version:
A framework-agnostic Web Components UI library built on native custom elements, with TypeScript types, light/dark theming, SSR and PWA support.
12 lines (11 loc) • 647 B
TypeScript
export declare function shouldSetLoadingOnSeeking(input: {
isDraggingProgress: boolean;
video?: HTMLVideoElement;
}): boolean;
export declare function shouldSetLoadingOnWaiting(input: {
isSeeking: boolean;
video?: HTMLVideoElement;
}): boolean;
/** Swaps `playButtonIcon` (the `<r-icon>` inside `playButton`) between `play`/`pause` — see `<r-icon>` migration in `docs/PLAYER_ROADMAP.md` Phase 4. */
export declare function syncPlayButtonState(playButton: HTMLElement, playButtonIcon: HTMLElement, isPlaying: boolean): void;
export declare function syncCenterPlayVisibility(centerPlayButton: HTMLElement, visible: boolean): void;