Skip to main content
Version: 4.1

config

config is an object that contains the following properties.

Properties​

useCSSSelectors​

When set to true the cell selectors could be defined as CSS selectors. If not, only JSON Markup selectors are taken into account. The default is false.

classNamePrefix​

The class name prefix config is for advanced use only. Be aware that if you change the prefix, the JointJS CSS will no longer function properly. The default is joint-.

defaultTheme​

The default theme used in JointJS. The default is 'default'.

doubleTapInterval​

The maximum delay required for two consecutive touchend events to be interpreted as a double-tap. The default is 300.

Types​

config​

namespace config {
var useCSSSelectors: boolean;
var classNamePrefix: string;
var defaultTheme: string;
var doubleTapInterval: number;
}

Stay in the know

Be where thousands of diagramming enthusiasts meet

Star us on GitHub