Search
Preparing search index...
The search index is not available
kdayun 界面引擎API
Options
All
Public
Public/Protected
All
Inherited
Menu
kdayun 界面引擎API
YH-Designer/src/designer/codeEditor/CodeEditor
CodeEditor
Class CodeEditor
代码编辑器
Hierarchy
CodeEditor
Index
Constructors
constructor
Methods
init
Constructors
constructor
new
Code
Editor
(
)
:
CodeEditor
Returns
CodeEditor
Methods
Static
init
init
(
page
:
DesignerPageBase
, elem
:
HTMLElement
, language
:
CodeEditorLang
, theme
?:
CodeEditorTheme
, readOnly
?:
boolean
)
:
ICodeEditor
初始化代码编辑器
Parameters
page:
DesignerPageBase
主容器 page
elem:
HTMLElement
需要渲染的html元素
language:
CodeEditorLang
语言
Optional
theme:
CodeEditorTheme
主题
readOnly:
boolean
= false
是否只读
Returns
ICodeEditor
Modules
YH-
Designer/src/designer/code
Editor/
Code
Editor
Generated using
TypeDoc
代码编辑器