config: {
    $defaultOptions: {};
    $loaded: {};
    $loading: {};
    $modes: {};
    dynamicModules: any;
    reportError: ((msg, data) => void);
    version: "1.36.5";
    warn: ((message, ...args) => void);
    $require(moduleName): any;
    all(): ConfigOptions;
    defineOptions(obj, path, options): AppConfig;
    get<K>(key): ConfigOptions[K];
    loadModule(moduleId, onLoad): void;
    moduleUrl(name, component?): string;
    nls(key, defaultString, params?): any;
    resetOptions(obj): void;
    set<K>(key, value): void;
    setDefaultValue(path, name, value): boolean;
    setDefaultValues(path, optionHash): void;
    setLoader(cb): void;
    setMessages(value, options?): void;
    setModuleLoader(moduleName, onLoad): void;
    setModuleUrl(name, subst): string;
}

Type declaration

  • $defaultOptions: {}
    • $loaded: {}
      • $loading: {}
        • $modes: {}
          • dynamicModules: any
          • reportError: ((msg, data) => void)
              • (msg, data): void
              • Parameters

                • msg: any
                • data: any

                Returns void

          • version: "1.36.5"
          • warn: ((message, ...args) => void)
              • (message, ...args): void
              • Parameters

                • message: any
                • Rest ...args: any

                Returns void

          • $require:function
            • Parameters

              • moduleName: any

              Returns any

          • all:function
          • defineOptions:function
            • Parameters

              • obj: any
              • path: string
              • options: {
                    [key: string]: any;
                }
                • [key: string]: any

              Returns AppConfig

          • get:function
            • Type Parameters

              • K extends keyof ConfigOptions

              Parameters

              • key: K

                The key of the config option to retrieve.

              Returns ConfigOptions[K]

              • The value of the config option.
          • loadModule:function
            • Parameters

              • moduleId: string | [string, string]
              • onLoad: ((module) => void)
                  • (module): void
                  • Parameters

                    • module: any

                    Returns void

              Returns void

          • moduleUrl:function
            • module loading

              Parameters

              • name: string
              • Optional component: string

              Returns string

          • nls:function
            • Parameters

              • key: string
              • defaultString: string
              • Optional params: {
                    [x: string]: any;
                }
                • [x: string]: any

              Returns any

          • resetOptions:function
          • set:function
            • Type Parameters

              • K extends keyof ConfigOptions

              Parameters

              • key: K
              • value: ConfigOptions[K]

              Returns void

          • setDefaultValue:function
            • Parameters

              • path: string
              • name: string
              • value: any

              Returns boolean

          • setDefaultValues:function
            • Parameters

              • path: string
              • optionHash: {
                    [key: string]: any;
                }
                • [key: string]: any

              Returns void

          • setLoader:function
          • setMessages:function
            • Parameters

              • value: any
              • Optional options: {
                    placeholders?: "dollarSigns" | "curlyBrackets";
                }
                • Optional placeholders?: "dollarSigns" | "curlyBrackets"

              Returns void

          • setModuleLoader:function
            • Parameters

              • moduleName: any
              • onLoad: any

              Returns void

          • setModuleUrl:function
            • Parameters

              • name: string
              • subst: string

              Returns string

          Generated using TypeDoc