Documentation
Code
GitLab
@geogirafe/lib-geoportal
tools/state/componentManager
ComponentManager
Class ComponentManager
Hierarchy (
View Summary
)
GirafeSingleton
ComponentManager
Index
Constructors
constructor
Methods
get
Components
get
Components
By
Name
is
Null
Or
Undefined
is
Null
Or
Undefined
Or
Blank
register
Component
get
Instance
Constructors
constructor
new
ComponentManager
(
type
:
string
)
:
ComponentManager
Parameters
type
:
string
Returns
ComponentManager
Methods
get
Components
getComponents
<
T
extends
GirafeHTMLElement
>
(
type
:
Constructor
<
T
>
)
:
T
[]
Type Parameters
T
extends
GirafeHTMLElement
Parameters
type
:
Constructor
<
T
>
Returns
T
[]
get
Components
By
Name
getComponentsByName
(
name
:
string
)
:
GirafeHTMLElement
[]
Parameters
name
:
string
Returns
GirafeHTMLElement
[]
is
Null
Or
Undefined
isNullOrUndefined
(
val
:
unknown
)
:
val
is
undefined
|
null
Parameters
val
:
unknown
Returns
val
is
undefined
|
null
is
Null
Or
Undefined
Or
Blank
isNullOrUndefinedOrBlank
(
val
:
unknown
)
:
val
is
undefined
|
null
|
""
Parameters
val
:
unknown
Returns
val
is
undefined
|
null
|
""
register
Component
registerComponent
(
component
:
GirafeHTMLElement
)
:
void
Parameters
component
:
GirafeHTMLElement
Returns
void
Static
get
Instance
getInstance
<
T
>
(
this
:
Constructor
<
T
>
)
:
T
Type Parameters
T
Parameters
this
:
Constructor
<
T
>
Returns
T
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
get
Components
get
Components
By
Name
is
Null
Or
Undefined
is
Null
Or
Undefined
Or
Blank
register
Component
get
Instance
@geogirafe/lib-geoportal
Loading...