CallioText API Reference - v0.0.22
文档首页 / Docs Home
Preparing search index...
get_default_abstract_editor
Function get_default_abstract_editor
get_default_abstract_editor
(
__namedParameters
:
{
get_label
?:
EditorNodeInfoFunction
<
AbstractNode
,
string
>
;
}
,
)
:
(
props
:
EditorRendererProps
<
Node
&
AbstractNode
>
)
=>
Element
这个函数是向编辑器提供的,抽象节点的渲染函数。注意因为抽象节点只能作根,因此这个函数只会作为根节点渲染。
Parameters
__namedParameters
:
{
get_label
?:
EditorNodeInfoFunction
<
AbstractNode
,
string
>
}
Returns
(
props
:
EditorRendererProps
<
Node
&
AbstractNode
>
)
=>
Element
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
文档首页 / Docs Home
CallioText API Reference - v0.0.22
Loading...
这个函数是向编辑器提供的,抽象节点的渲染函数。注意因为抽象节点只能作根,因此这个函数只会作为根节点渲染。