Cell API
Docs
GitHub
Preparing search index...
@celljs/core
common
parseComponentOption
Function parseComponentOption
parseComponentOption
(
target
:
any
,
idOrOption
:
any
,
)
:
{
default
?:
boolean
;
id
?:
ComponentId
<
any
>
|
ComponentId
<
any
>
[]
;
name
?:
string
|
number
|
symbol
;
onActivation
?:
(
context
:
Context
,
t
:
any
)
=>
any
;
proxy
?:
boolean
;
rebind
?:
boolean
;
scope
?:
Scope
;
sysTags
?:
string
[]
;
tag
?:
{
tag
:
string
|
number
|
symbol
;
value
:
any
}
;
when
?:
(
request
:
Request
)
=>
boolean
;
}
Parameters
target
:
any
idOrOption
:
any
Returns
{
default
?:
boolean
;
id
?:
ComponentId
<
any
>
|
ComponentId
<
any
>
[]
;
name
?:
string
|
number
|
symbol
;
onActivation
?:
(
context
:
Context
,
t
:
any
)
=>
any
;
proxy
?:
boolean
;
rebind
?:
boolean
;
scope
?:
Scope
;
sysTags
?:
string
[]
;
tag
?:
{
tag
:
string
|
number
|
symbol
;
value
:
any
}
;
when
?:
(
request
:
Request
)
=>
boolean
;
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Docs
GitHub
Cell API
Loading...