Skip to main content

SidebarFragmentDefaults

geovisto-mapReadme | API


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

SidebarFragmentDefaults

Inherited from

MapObjectDefaults.constructor

Properties

idString?

protected optional idString: string

Inherited from

MapObjectDefaults.idString

Source

model/internal/object/MapObjectDefaults.ts:13


id

static protected id: number

Inherited from

MapObjectDefaults.id

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

MapObjectDefaults.generateId

Source

model/internal/object/MapObjectDefaults.ts:54


getConfig()

getConfig(): ISidebarFragmentConfig

It returns the default config.

Returns

ISidebarFragmentConfig

Implementation of

ISidebarFragmentDefaults.getConfig

Overrides

MapObjectDefaults.getConfig

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

MapObjectDefaults.getId

Source

model/internal/object/MapObjectDefaults.ts:44


getProps()

getProps(): IMapObjectProps

It returns default props if no props are given.

Returns

IMapObjectProps

Implementation of

ISidebarFragmentDefaults.getProps

Inherited from

MapObjectDefaults.getProps

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

MapObjectDefaults.getType

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