Search
Preparing search index...
The search index is not available
@netgrif/components-core
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@netgrif/components-core
ComponentRegistryService
Class ComponentRegistryService
Hierarchy
ComponentRegistryService
Index
Constructors
constructor
Properties
registry
type
Registry
Methods
contains
get
get
Type
register
register
Type
Constructors
constructor
new
Component
Registry
Service
(
)
:
ComponentRegistryService
Returns
ComponentRegistryService
Properties
Protected
registry
registry
:
Map
<
string
,
(
(
injector
:
Injector
)
=>
ComponentPortal
<
any
>
)
>
Protected
type
Registry
type
Registry
:
Map
<
string
,
Type
<
any
>
>
Methods
contains
contains
(
component
:
string
)
:
boolean
Parameters
component:
string
Returns
boolean
get
get
(
component
:
string
, injector
?:
Injector
)
:
ComponentPortal
<
any
>
Parameters
component:
string
Optional
injector:
Injector
Returns
ComponentPortal
<
any
>
get
Type
get
Type
(
key
:
string
)
:
Type
<
any
>
Parameters
key:
string
Returns
Type
<
any
>
register
register
(
component
:
string
, factory
:
(
(
injector
:
Injector
)
=>
ComponentPortal
<
any
>
)
)
:
void
Parameters
component:
string
factory:
(
(
injector
:
Injector
)
=>
ComponentPortal
<
any
>
)
(
injector
:
Injector
)
:
ComponentPortal
<
any
>
Parameters
injector:
Injector
Returns
ComponentPortal
<
any
>
Returns
void
register
Type
register
Type
(
key
:
string
, type
:
Type
<
any
>
)
:
void
Parameters
key:
string
type:
Type
<
any
>
Returns
void
Exports
Component
Registry
Service
constructor
registry
type
Registry
contains
get
get
Type
register
register
Type
Generated using
TypeDoc