Documentation
Code
GitLab
@geogirafe/lib-geoportal
tools/themes/themeshelper
ThemesHelper
Class ThemesHelper
Hierarchy (
View Summary
)
GirafeSingleton
ThemesHelper
Index
Constructors
constructor
Properties
config
Manager
state
Manager
Accessors
state
Methods
find
Base
Layer
By
Id
find
Group
By
Name
find
Layer
By
Name
find
Theme
By
Name
is
Null
Or
Undefined
is
Null
Or
Undefined
Or
Blank
on
Change
Theme
get
Instance
Constructors
constructor
new
ThemesHelper
(
type
:
string
)
:
ThemesHelper
Parameters
type
:
string
Returns
ThemesHelper
Properties
config
Manager
configManager
:
ConfigManager
state
Manager
stateManager
:
StateManager
Accessors
state
get
state
()
:
State
Returns
State
Methods
find
Base
Layer
By
Id
findBaseLayerById
(
layerId
:
number
)
:
BaseLayer
Parameters
layerId
:
number
Returns
BaseLayer
find
Group
By
Name
findGroupByName
(
groupname
:
string
)
:
GroupLayer
Parameters
groupname
:
string
Returns
GroupLayer
find
Layer
By
Name
findLayerByName
(
layername
:
string
)
:
Layer
Parameters
layername
:
string
Returns
Layer
find
Theme
By
Name
findThemeByName
(
themename
:
string
)
:
ThemeLayer
Parameters
themename
:
string
Returns
ThemeLayer
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
|
""
on
Change
Theme
onChangeTheme
(
theme
:
null
|
ThemeLayer
)
:
void
Parameters
theme
:
null
|
ThemeLayer
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
Properties
config
Manager
state
Manager
Accessors
state
Methods
find
Base
Layer
By
Id
find
Group
By
Name
find
Layer
By
Name
find
Theme
By
Name
is
Null
Or
Undefined
is
Null
Or
Undefined
Or
Blank
on
Change
Theme
get
Instance
@geogirafe/lib-geoportal
Loading...