@jxstjh/jhvideo
Version:
HTML5 jhvideo base on MPEG2-TS Stream Player
24 lines (23 loc) • 609 B
TypeScript
export class ContextMenu {
constructor(container: any, items: any);
container: any;
dom: HTMLDivElement;
shown: boolean;
root: boolean;
parent: any;
submenus: any[];
items: any;
_onclick: (e: any) => void;
_oncontextmenu: (e: any) => void;
_oncontextmenu_keydown: (e: any) => void;
_onblur: (e: any) => void;
setMenu(items: any): void;
getMenuDom(): HTMLDivElement;
itemToDomEl(data: any): HTMLDivElement;
hideAll(): void;
hide(): void;
hideSubMenus(): void;
show(x: any, y: any): void;
install(): void;
uninstall(): void;
}