playable
Version:
Video player based on HTML5Video
29 lines (28 loc) • 825 B
TypeScript
declare type IMainUIBlockViewStyles = {
mainUiBlock: string;
tooltipContainerWrapper: string;
hidden: string;
};
declare type IMainUIBlockViewElements = {
tooltipContainer: HTMLElement;
topBlock: HTMLElement;
bottomBlock: HTMLElement;
};
declare 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, };