Options
All
  • Public
  • Public/Protected
  • All
Menu

Holds configuration information about a view model

Hierarchy

  • ViewModelConfig

Index

Constructors

constructor

  • new ViewModelConfig(viewModelId: string, moduleName: string, typeName: string): ViewModelConfig
  • Initializes a new instance of the {@link geocortex.framework.config.ViewModelConfig} class.

    Parameters

    • viewModelId: string

      The configured ID of this view model.

    • moduleName: string

      The name of the module that this view mode; belongs to.

    • typeName: string

      The type name of the instance for this view model.

    Returns ViewModelConfig

Properties

configuration

configuration: any

Configuration materials to pass to the view model upon initialization.

libraryId

libraryId: string

The ID of the library that this view model belongs to.

moduleName

moduleName: string

The name of the module that this view model belongs to.

require

require: string

Require path to the view model class.

typeName

typeName: string

The type name of the view model instance this view model config represents.

viewModelId

viewModelId: string

The configured ID of this view model.