Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents a configured module, including any configured {@link geocortex.framework.ui.ViewBase} and {@link geocortex.framework.ui.ViewModelBase} objects belonging to the module.<

Hierarchy

  • ModuleConfig

Index

Constructors

constructor

  • new ModuleConfig(moduleName: string, moduleType: string, configuration: Object, libraryId: string): ModuleConfig
  • Initializes a new instance of the {@link geocortex.framework.config.ModuleConfig} class

    param:

    moduleName The name of the module this configuration item represents.

    param:

    moduleType The type name of the module this configuration item represents.

    param:

    configuration The configuration object to pass to the module during initialization.

    param:

    libraryId The configured library ID that this module belongs to.

    Parameters

    • moduleName: string
    • moduleType: string
    • configuration: Object
    • libraryId: string

    Returns ModuleConfig

Properties

configuration

configuration: any

The configuration material to pass to the module upon initialization.

libraryId

libraryId: string

The configured ID of the library that this module's implementation can be found in.

moduleName

moduleName: string

The configured name of the module.

moduleType

moduleType: string

The configured type name of the module instance.

overrideLoadBundle

overrideLoadBundle: boolean

Indicate that a modules cache bundle should be loaded, independently of the library "loadModulesBundle" setting. Applies only to libraries in async mode.

require

require: string

Require path to the module class.

viewConfigs

viewConfigs: ViewConfig[]

An array of {@link geocortex.framework.config.ViewConfig} objects configured for this module.

viewModelConfigs

viewModelConfigs: ViewModelConfig[]

An array of {@link geocortex.framework.config.ViewModelConfig} objects configured for this module.