UNPKG

playable

Version:

Video player based on HTML5Video

43 lines (34 loc) 785 B
type IMainUIBlockViewStyles = { mainUiBlock: string; tooltipContainerWrapper: string; hidden: string; }; type IMainUIBlockViewElements = { tooltipContainer: HTMLElement; topBlock: HTMLElement; bottomBlock: HTMLElement; }; type IMainUIBlockViewConfig = { elements: IMainUIBlockViewElements; }; interface IMainUIBlock { getElement(): HTMLElement; enableShowingContent(): void; disableShowingContent(): void; show(): void; hide(): void; setShouldAlwaysShow(flag: boolean): void; destroy(): void; } interface IMainUIBlockAPI { showMainUI?(): void; hideMainUI?(): void; setMainUIShouldAlwaysShow?(flag: boolean): void; } export { IMainUIBlockAPI, IMainUIBlock, IMainUIBlockViewStyles, IMainUIBlockViewElements, IMainUIBlockViewConfig, };