Skip to main content

ISidebarTabDefaults

geovisto-map • Readme | API


geovisto-map / ISidebarTabDefaults

Interface: ISidebarTabDefaults

This interface declares functions which return the default state values.

Author​

Jiri Hynek

Extends​

Methods​

getConfig()​

getConfig(): ISidebarTabConfig

It returns the default config.

Returns​

ISidebarTabConfig

Overrides​

IMapObjectDefaults.getConfig

Source​

tools/sidebar/model/types/tab/ISidebarTabDefaults.ts:18


getIcon()​

getIcon(): string

It returns the icon of the sidebar tab.

Returns​

string

Source​

tools/sidebar/model/types/tab/ISidebarTabDefaults.ts:33


getId()​

getId(): string

It returns identifier which is used when no identifier is specified.

Returns​

string

Inherited from​

IMapObjectDefaults.getId

Source​

model/types/object/IMapObjectDefaults.ts:32


getName()​

getName(): string

It returns name of the sidebar tab.

Returns​

string

Source​

tools/sidebar/model/types/tab/ISidebarTabDefaults.ts:28


getProps()​

getProps(): IMapObjectProps

It returns default props if no props are given.

Returns​

IMapObjectProps

Inherited from​

IMapObjectDefaults.getProps

Source​

model/types/object/IMapObjectDefaults.ts:17


getType()​

getType(): string

It returns a unique type string of the map object.

Returns​

string

Inherited from​

IMapObjectDefaults.getType

Source​

model/types/object/IMapObjectDefaults.ts:27


hasCheckButton()​

hasCheckButton(): boolean

It returns a logical value whether the sidebar tab contains a check button used to enable/disable the tool.

Returns​

boolean

Source​

tools/sidebar/model/types/tab/ISidebarTabDefaults.ts:38


isEnabled()​

isEnabled(): boolean

It returns whether the default value the sidebar tab is enabled.

Returns​

boolean

Source​

tools/sidebar/model/types/tab/ISidebarTabDefaults.ts:23