JavaScript/jQuery Diagram - contextMenu

Configures the context menu's settings.

Type:

Object

Default Value: {}

commands

Lists commands in the context menu.

Type:

Array<String>

Default Value: undefined
Accepted Values: 'cut' | 'copy' | 'paste' | 'selectAll' | 'delete' | 'bringToFront' | 'sendToBack' | 'lock' | 'unlock' | 'insertShapeImage' | 'editShapeImage' | 'deleteShapeImage'

enabled

Specifies whether the context menu is enabled.

Type:

Boolean

Default Value: true