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/services/NameGenerateService
NameGenerateService
Class NameGenerateService
组件的取名服务类
Hierarchy
ServiceBase
NameGenerateService
Index
Constructors
constructor
Properties
ALLNAMES
Methods
exists
Name
generate
Name
get
Instance
Constructors
constructor
new
Name
Generate
Service
(
)
:
NameGenerateService
Returns
NameGenerateService
Properties
Static
ALLNAMES
ALLNAMES
:
string
[]
= ...
Methods
Static
exists
Name
exists
Name
(
name
:
string
, page
:
DesignerPageBase
)
:
boolean
校验一个名称是否存在
Parameters
name:
string
page:
DesignerPageBase
Returns
boolean
Static
generate
Name
generate
Name
(
cmp
:
SerializeComponetBase
, page
?:
DesignerPageBase
)
:
string
生成一个组件的当前page的唯一名字
Parameters
cmp:
SerializeComponetBase
组件实例
Optional
page:
DesignerPageBase
页面 可选
Returns
string
Static
get
Instance
get
Instance<T>
(
)
:
T
Type parameters
T
:
{}
Returns
T
Modules
YH-
Designer/src/services/
Name
Generate
Service
Generated using
TypeDoc
组件的取名服务类