Options
All
  • Public
  • Public/Protected
  • All
Menu

Loads an application configuration and fires a callback upon completion.

Hierarchy

  • ConfigurationLoader

Index

Constructors

Properties

Methods

Constructors

constructor

  • Initializes a new instance of the {@link geocortex.framework.config.ConfigurationLoader} class.

    Parameters

    Returns ConfigurationLoader

Properties

app

The application instance that this ConfigurationLoader belongs to.

Methods

loadConfigurationTree

  • loadConfigurationTree(configUri: string, callback?: function): void
  • Loads a configuration tree, publishing the ConfigurationLoadFailedEvent in the event of a failure.

    Parameters

    • configUri: string

      URI of the configuration file to load.

    • Optional callback: function

      The callback to call upon success.

        • (config: any): void
        • Parameters

          • config: any

          Returns void

    Returns void