Code
Mirror
Editor
constructor
elem
get
Content
get
Cursor
get
Element
get
Language
set
Content
set
Cursor
matches
Hierarchy
AbstractEditor
CodeMirrorEditor
Index
Constructors
constructor
Properties
elem
Methods
get
Content
get
Cursor
get
Element
get
Language
set
Content
set
Cursor
matches
Constructors
constructor
new
Code
Mirror
Editor
(
e
:
HTMLElement
)
:
CodeMirrorEditor
Parameters
e:
HTMLElement
Returns
CodeMirrorEditor
Properties
Private
elem
elem
:
HTMLElement
Methods
get
Content
get
Content
(
)
:
Promise
<
any
>
Returns
Promise
<
any
>
get
Cursor
get
Cursor
(
)
:
Promise
<
any
>
Returns
Promise
<
any
>
get
Element
get
Element
(
)
:
HTMLElement
Returns
HTMLElement
get
Language
get
Language
(
)
:
Promise
<
any
>
Returns
Promise
<
any
>
set
Content
set
Content
(
text
:
string
)
:
Promise
<
any
>
Parameters
text:
string
Returns
Promise
<
any
>
set
Cursor
set
Cursor
(
line
:
number
, column
:
number
)
:
Promise
<
any
>
Parameters
line:
number
column:
number
Returns
Promise
<
any
>
Static
matches
matches
(
e
:
HTMLElement
)
:
boolean
Parameters
e:
HTMLElement
Returns
boolean