Skip to content

Waiting for more detailed docs. #269

@ghost

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.

  1. Can you make a method to destroy the instance? I worry about memory leakage.
  2. 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

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions