Home > hpcc-js > HPCCCodemirrorElement

HPCCCodemirrorElement class

Signature:

export declare class HPCCCodemirrorElement extends HPCCResizeElement 

Extends: HPCCResizeElement

Constructors

Constructor

Modifiers

Description

(constructor)()

Constructs a new instance of the HPCCCodemirrorElement class

Properties

Property

Modifiers

Type

Description

_div

HTMLDivElement

_slot

HTMLSlotElement

_view

protected

EditorView

mode

"html" | "json" | "javascript"

Text to be displayed in the editor

text

string

Text to be displayed in the editor

theme

"light" | "dark"

Text to be displayed in the editor

Methods

Method

Modifiers

Description

enter()

exit()

extensions()

protected

update(changes)