CallioText API Reference - v0.0.22
文档首页 / Docs Home
Preparing search index...
EditorComponentProps
Interface EditorComponentProps
interface
EditorComponentProps
{
editorcore
:
EditorCore
;
init_rootchildren
?:
Descendant
[]
&
NonLeafNode
[]
;
init_rootproperty
?:
Omit
<
AbstractNode
,
"children"
>
;
onFocusChange
?:
(
editor
?:
EditorComponent
)
=>
void
;
onKeyDown
?:
(
e
:
KeyboardEvent
<
HTMLDivElement
>
)
=>
void
;
onKeyUp
?:
(
e
:
KeyboardEvent
<
HTMLDivElement
>
)
=>
void
;
onUpdate
?:
(
v
:
any
)
=>
void
;
plugin
?:
EditorPlugin
;
}
Index
Properties
editorcore
init_
rootchildren?
init_
rootproperty?
on
Focus
Change?
on
Key
Down?
on
Key
Up?
on
Update?
plugin?
Properties
editorcore
editorcore
:
EditorCore
Optional
init_
rootchildren
init_rootchildren
?:
Descendant
[]
&
NonLeafNode
[]
Optional
init_
rootproperty
init_rootproperty
?:
Omit
<
AbstractNode
,
"children"
>
Optional
on
Focus
Change
onFocusChange
?:
(
editor
?:
EditorComponent
)
=>
void
改变光标位置的回调。
Optional
on
Key
Down
onKeyDown
?:
(
e
:
KeyboardEvent
<
HTMLDivElement
>
)
=>
void
按键按下的回调。
Optional
on
Key
Up
onKeyUp
?:
(
e
:
KeyboardEvent
<
HTMLDivElement
>
)
=>
void
按键弹起的回调。
Optional
on
Update
onUpdate
?:
(
v
:
any
)
=>
void
节点树更新时的回调。
Optional
plugin
plugin
?:
EditorPlugin
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
editorcore
init_
rootchildren
init_
rootproperty
on
Focus
Change
on
Key
Down
on
Key
Up
on
Update
plugin
文档首页 / Docs Home
CallioText API Reference - v0.0.22
Loading...
改变光标位置的回调。