Vanessa 2023-06-05 19:49:32 +08:00
parent 1d31b9a797
commit 999081b573
2 changed files with 41 additions and 0 deletions

View file

@ -17,6 +17,15 @@ export class Plugin {
public eventBus: EventBus;
public data: any = {};
public name: string;
// TODO
public customBlockRenders: {
[key: string]: {
icon: string,
action: "edit" | "more"[],
genCursor: boolean,
render: (options: { app: App, element: Element }) => void
}
} = {};
public topBarIcons: Element[] = [];
public setting: Setting;
public statusBarIcons: Element[] = [];