mind-elixir.options
Home > mind-elixir > Options
Options type
The MindElixir options
Signature:
export type Options = {
el: string | HTMLElement;
direction?: number;
locale?: Locale;
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;
theme?: Theme;
nodeMenu?: boolean;
selectionContainer?: string | HTMLElement;
};
References: Locale, MindElixirInstance, MainLineParams, SubLineParams, Theme