Documentation
Code
GitLab
@geogirafe/lib-geoportal
tools/themes/customthemesmanager
CustomThemesManager
Class CustomThemesManager
Hierarchy (
View Summary
)
GirafeSingleton
CustomThemesManager
Index
Constructors
constructor
Properties
config
Manager
custom
Themes
Methods
add
Theme
delete
Theme
is
Null
Or
Undefined
is
Null
Or
Undefined
Or
Blank
load
Custom
Themes
manage
Active
State
For
Cloned
Object
get
Instance
Constructors
constructor
new
CustomThemesManager
(
type
:
string
)
:
CustomThemesManager
Parameters
type
:
string
Returns
CustomThemesManager
Properties
config
Manager
configManager
:
ConfigManager
custom
Themes
customThemes
:
CustomTheme
[]
= []
Methods
add
Theme
addTheme
(
themeName
:
string
,
layersList
:
BaseLayer
[]
)
:
void
Parameters
themeName
:
string
layersList
:
BaseLayer
[]
Returns
void
delete
Theme
deleteTheme
(
theme
:
CustomTheme
)
:
void
Parameters
theme
:
CustomTheme
Returns
void
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
|
""
load
Custom
Themes
loadCustomThemes
()
:
void
Returns
void
manage
Active
State
For
Cloned
Object
manageActiveStateForClonedObject
(
layer
:
BaseLayer
)
:
void
Parameters
layer
:
BaseLayer
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
custom
Themes
Methods
add
Theme
delete
Theme
is
Null
Or
Undefined
is
Null
Or
Undefined
Or
Blank
load
Custom
Themes
manage
Active
State
For
Cloned
Object
get
Instance
@geogirafe/lib-geoportal
Loading...