This commit is contained in:
Vanessa 2023-08-01 14:42:33 +08:00
parent 0fcd53187d
commit 7a3c8da349
3 changed files with 15 additions and 29 deletions

View file

@ -812,7 +812,7 @@ interface IModels {
interface IMenu {
label?: string,
click?: (element: HTMLElement) => boolean | void | Promise<boolean | void>
click?: (element: HTMLElement, event: MouseEvent) => boolean | void | Promise<boolean | void>
type?: "separator" | "submenu" | "readonly",
accelerator?: string,
action?: string,