Skip to content

charton API


charton API / @chart-on/ui / index / DraftEditorHandle

Interface: DraftEditorHandle ​

Defined in: ui/src/draft-editor.ts:22

Returned by createDraftEditor: the open keypad or type menu, if any, with close and destroy.

Properties ​

el ​

readonly el: HTMLElement | null

Defined in: ui/src/draft-editor.ts:24

The open keypad or type menu, or null.

Methods ​

close() ​

close(): void

Defined in: ui/src/draft-editor.ts:25

Returns ​

void


destroy() ​

destroy(): void

Defined in: ui/src/draft-editor.ts:26

Returns ​

void