-
-
Notifications
You must be signed in to change notification settings - Fork 381
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
Your work is great! I just moved from simple-mind-map which is also wonderful.
I have two requests.
- Can you make a method to destroy the instance? I worry about memory leakage.
- Can you make more details for docs?
When I read the docs for example locale of options:
export type Options = {
el: string | HTMLElement;
direction?: number;
locale?: string;
draggable?: boolean;
editable?: boolean;
contextMenu?: boolean;
contextMenuOption?: any;
toolBar?: boolean;
keypress?: boolean;
mouseSelectionButton?: 0 | 2;
before?: Before;
newTopicName?: string;
allowUndo?: boolean;
overflowHidden?: boolean;
generateMainBranch?: (this: MindElixirInstance, params: MainLineParams) => PathString;
generateSubBranch?: (this: MindElixirInstance, params: SubLineParams) => PathString;
mobileMenu?: boolean;
theme?: Theme;
nodeMenu?: boolean;
};
How many locale options should I use? And so on.
Respect!!!
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request