SidebarFragmentDefaults
geovisto-map / SidebarFragmentDefaults
Class: SidebarFragmentDefaults
This class provide functions which return the default state values.
Author
Jiri Hynek
Extends
Implements
Constructors
new SidebarFragmentDefaults()
new SidebarFragmentDefaults():
SidebarFragmentDefaults
Returns
Inherited from
Properties
idString?
protected
optional
idString:string
Inherited from
Source
model/internal/object/MapObjectDefaults.ts:13
id
static
protected
id:number
Inherited from
Source
model/internal/object/MapObjectDefaults.ts:12
Methods
generateId()
protected
generateId():string
It returns identifier which is used when no identifier is specified.
Returns
string
Inherited from
Source
model/internal/object/MapObjectDefaults.ts:54
getConfig()
getConfig():
ISidebarFragmentConfig
It returns the default config.
Returns
Implementation of
ISidebarFragmentDefaults
.getConfig
Overrides
Source
tools/sidebar/model/internal/fragment/SidebarFragmentDefaults.ts:18
getId()
getId():
string
It returns identifier which is used when no identifier is specified.
Returns
string
Implementation of
ISidebarFragmentDefaults
.getId
Inherited from
Source
model/internal/object/MapObjectDefaults.ts:44
getProps()
getProps():
IMapObjectProps
It returns default props if no props are given.
Returns
Implementation of
ISidebarFragmentDefaults
.getProps
Inherited from
Source
model/internal/object/MapObjectDefaults.ts:18
getType()
getType():
string
It returns a unique type string of the sidebar fragment.
Returns
string
Implementation of
ISidebarFragmentDefaults
.getType
Overrides
Source
tools/sidebar/model/internal/fragment/SidebarFragmentDefaults.ts:28
isEnabled()
isEnabled():
boolean
It returns a logical value whether the sidebar fragment is enabled.
Returns
boolean
Implementation of
ISidebarFragmentDefaults
.isEnabled
Source
tools/sidebar/model/internal/fragment/SidebarFragmentDefaults.ts:35