@geogirafe/lib-geoportal
Preparing search index...
tools/themes/customthemesmanager
CustomThemesManager
Class CustomThemesManager
Hierarchy (
View Summary
)
GirafeSingleton
CustomThemesManager
Index
Constructors
constructor
Properties
context
custom
Themes
Methods
add
Theme
delete
Theme
initialize
Singleton
is
Null
Or
Undefined
Or
Blank
load
Custom
Themes
Constructors
constructor
new
CustomThemesManager
(
context
:
IGirafeContext
)
:
CustomThemesManager
Parameters
context
:
IGirafeContext
Returns
CustomThemesManager
Properties
Protected
Readonly
context
context
:
IGirafeContext
custom
Themes
customThemes
:
CustomTheme
[]
= []
Methods
add
Theme
addTheme
(
themeName
:
string
,
layersList
:
BaseLayer
[]
)
:
Promise
<
void
>
Parameters
themeName
:
string
layersList
:
BaseLayer
[]
Returns
Promise
<
void
>
delete
Theme
deleteTheme
(
theme
:
CustomTheme
)
:
Promise
<
void
>
Parameters
theme
:
CustomTheme
Returns
Promise
<
void
>
initialize
Singleton
initializeSingleton
()
:
Promise
<
void
>
Returns
Promise
<
void
>
Protected
is
Null
Or
Undefined
Or
Blank
isNullOrUndefinedOrBlank
(
val
:
unknown
)
:
val
is
""
|
null
|
undefined
Parameters
val
:
unknown
Returns
val
is
""
|
null
|
undefined
load
Custom
Themes
loadCustomThemes
()
:
Promise
<
void
>
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
context
custom
Themes
Methods
add
Theme
delete
Theme
initialize
Singleton
is
Null
Or
Undefined
Or
Blank
load
Custom
Themes
@geogirafe/lib-geoportal
Loading...