mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-23 00:36:10 +01:00
This commit is contained in:
parent
0fcd53187d
commit
7a3c8da349
3 changed files with 15 additions and 29 deletions
2
app/src/types/index.d.ts
vendored
2
app/src/types/index.d.ts
vendored
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue