UNPKG

react-design-editor

Version:

Design Editor Tools with React.js + ant.design + fabric.js

29 lines (28 loc) 634 B
/// <reference types="lodash" /> import { Handler } from '.'; declare class ContextmenuHandler { handler: Handler; contextmenuEl: HTMLDivElement; constructor(handler: Handler); /** * Initialize contextmenu * */ initialize(): void; /** * Destroy contextmenu * */ destory(): void; /** * Show context menu * */ show: import("lodash").DebouncedFunc<(e: any, target: any) => Promise<void>>; /** * Hide context menu * */ hide: import("lodash").DebouncedFunc<() => void>; } export default ContextmenuHandler;