solid-ui
Preparing search index...
CodeEditor
Class CodeEditor
Index
Constructors
constructor
Methods
destroy
focus
Editor
get
Value
initialize
replace
Content
reset
Dirty
State
set
Language
set
Read
Only
Constructors
constructor
new
CodeEditor
()
:
CodeEditor
Returns
CodeEditor
Methods
destroy
destroy
()
:
void
Returns
void
focus
Editor
focusEditor
()
:
void
Returns
void
get
Value
getValue
()
:
string
Returns
string
initialize
initialize
(
container
:
HTMLElement
,
initialDoc
?:
string
,
contentType
?:
string
,
theme
?:
ThemeMode
,
onDirtyChange
?:
(
dirty
:
boolean
)
=>
void
,
)
:
Promise
<
void
>
Parameters
container
:
HTMLElement
initialDoc
:
string
= ''
contentType
:
string
= 'text/turtle'
theme
:
ThemeMode
= 'dark'
Optional
onDirtyChange
:
(
dirty
:
boolean
)
=>
void
Returns
Promise
<
void
>
replace
Content
replaceContent
(
text
:
string
)
:
void
Parameters
text
:
string
Returns
void
reset
Dirty
State
resetDirtyState
()
:
void
Returns
void
set
Language
setLanguage
(
contentType
:
string
)
:
Promise
<
void
>
Parameters
contentType
:
string
Returns
Promise
<
void
>
set
Read
Only
setReadOnly
(
readOnly
:
boolean
)
:
void
Parameters
readOnly
:
boolean
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
destroy
focus
Editor
get
Value
initialize
replace
Content
reset
Dirty
State
set
Language
set
Read
Only
solid-ui
Loading...