jsMind

shortcut.enable Option

Option Name Data Type Default Value Description
shortcut.enable bool true Whether to enable keyboard shortcuts

Option Description

The enable option is used to control whether keyboard shortcuts can be used to edit or perform other operations on the mind map in the jsMind interface. The default value is true, which means shortcuts are enabled.

Usage Example

Below is an example of setting the enable option:

var options = {
    container: 'jsmind_container',
    editable: true,
    theme: 'primary',
    shortcut: {
        enable: false, // Disable keyboard shortcuts
        handles: {},
        mapping: {}
    }
};

In the above example, the enable option is set to false, which means all keyboard shortcuts will be disabled in the jsMind interface.

copyright notice

Reproduction and deduction are prohibited.

The jsMind project is still being updated and the corresponding documentation is updated at the same time as the version is updated. In order to avoid confusion to the user, it is forbidden to reprint this document without written permission and to make changes of any kind to this document.