Skip to content

EditorOptions

Properties

allowAutoScroll

allowAutoScroll: boolean

Source

editor.ts:24


allowCreateTextOnCanvas

allowCreateTextOnCanvas: boolean

Source

editor.ts:25


allowCreateTextOnConnector

allowCreateTextOnConnector: boolean

Source

editor.ts:26


blankColor?

optional blankColor: string

Source

editor.ts:34


canvasColor?

optional canvasColor: string

Source

editor.ts:35


defaultHandlerId

defaultHandlerId: null | string

Source

editor.ts:21


gridColor?

optional gridColor: string

Source

editor.ts:36


handlers

handlers: Handler[]

Source

editor.ts:20


imageResize

imageResize: object

maxHeight?

optional maxHeight: number

maxWidth?

optional maxWidth: number

quality?

optional quality: number

Source

editor.ts:29


keymap

keymap: KeyMap

Source

editor.ts:22


keymapEventTarget

keymapEventTarget: null | EventTarget

Source

editor.ts:23


onReady()

onReady: (editor) => void

Parameters

editor: Editor

Returns

void

Source

editor.ts:37


showCreateConnectorController

showCreateConnectorController: boolean

Source

editor.ts:27


showDOM

showDOM: boolean

Source

editor.ts:28