Interface ContextMenu

interface ContextMenu {
    close: (() => void);
    open: ((event: MouseEvent<Element, MouseEvent>, render?: ((props: ContextMenuProps) => ReactNode), options?: ContextMenusOptions, renderLazy?: Promise<((props: ContextMenuProps) => ReactNode)>) => void);
    openLazy: ((event: MouseEvent<Element, MouseEvent>, renderLazy?: (() => Promise<((props: ContextMenuProps) => ReactNode)>), options?: ContextMenusOptions) => void);
}

Properties

Properties

close: (() => void)
open: ((event: MouseEvent<Element, MouseEvent>, render?: ((props: ContextMenuProps) => ReactNode), options?: ContextMenusOptions, renderLazy?: Promise<((props: ContextMenuProps) => ReactNode)>) => void)
openLazy: ((event: MouseEvent<Element, MouseEvent>, renderLazy?: (() => Promise<((props: ContextMenuProps) => ReactNode)>), options?: ContextMenusOptions) => void)