Search
Preparing search index...
The search index is not available
zreact
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"component"
External module "component"
Index
Enumerations
Component
Child
Type
Classes
Component
Interfaces
IComponent
Child
Variables
components
Functions
collect
Component
create
Component
do
Render
Variables
Const
components
components
:
object
缓存卸载自定义组件对象列表
Type declaration
[
name:
string
]:
Array
<
Component
<
IKeyValue
,
IKeyValue
>
>
Functions
collect
Component
collect
Component
(
component
:
Component
<
IKeyValue
,
IKeyValue
>
)
:
void
缓存卸载后的自定义组件
Parameters
component:
Component
<
IKeyValue
,
IKeyValue
>
卸载后的组件
Returns
void
create
Component
create
Component
(
Ctor
:
any
, props
:
IKeyValue
, context
:
IKeyValue
, component
:
Component
<
IKeyValue
,
IKeyValue
>
|
undefined
|
void
|
null
)
:
Component
<
IKeyValue
,
IKeyValue
>
复用已卸载的组件
Parameters
Ctor:
any
要创建的组件对象
props:
IKeyValue
context:
IKeyValue
component:
Component
<
IKeyValue
,
IKeyValue
>
|
undefined
|
void
|
null
Returns
Component
<
IKeyValue
,
IKeyValue
>
do
Render
do
Render
(
this
:
Component
, props
:
IBaseProps
, state
:
IKeyValue
, context
:
IKeyValue
)
:
any
代理render,去除state
Parameters
this:
Component
props:
IBaseProps
state:
IKeyValue
context:
IKeyValue
Returns
any
Globals
"component"
Component
Child
Type
Component
IComponent
Child
components
collect
Component
create
Component
do
Render
Generated using
TypeDoc
缓存卸载自定义组件对象列表