mind-elixir
Version:
Mind elixir is a free open source mind map core.
15 lines (14 loc) • 437 B
TypeScript
import type { MindElixirInstance } from '../types/index';
import './contextMenu.less';
import type { LangPack } from '../i18n';
export type ContextMenuOption = {
focus?: boolean;
link?: boolean;
extend?: {
name: string;
key?: string;
onclick: (e: MouseEvent) => void;
}[];
locale?: LangPack;
};
export default function (mind: MindElixirInstance, option: true | ContextMenuOption): () => void;