We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0bd85ca commit 055814cCopy full SHA for 055814c
1 file changed
types/any-menu.d.ts
@@ -63,7 +63,7 @@ export interface PluginInterfaceCtx {
63
/** 显示面板(低风险) */
64
showPanel: (list?: string[]) => void;
65
/** 注册子面板(中风险) */
66
- registerSubPanel: (options: { id: string; el: HTMLElement }) => void;
+ registerSubPanel: (options: { id: string, el: HTMLElement|((el: HTMLElement) => void) }) => void;
67
/** 注销子面板 */
68
unregisterSubPanel: (id: string) => void;
69
};
0 commit comments