site/node_modules/mj-context-menu/js/sub_menu.d.ts

20 lines
582 B
TypeScript
Raw Permalink Normal View History

2024-10-14 06:09:33 +00:00
import { AbstractMenu } from './abstract_menu.js';
import { Submenu } from './item_submenu.js';
import { ParserFactory } from './parser_factory.js';
export declare class SubMenu extends AbstractMenu {
private _anchor;
static fromJson(factory: ParserFactory, { items: its }: {
items: any[];
id: string;
}, anchor: Submenu): SubMenu;
constructor(_anchor: Submenu);
get anchor(): Submenu;
post(): void;
protected display(): void;
private setBaseMenu;
left(_event: KeyboardEvent): void;
toJson(): {
type: string;
};
}