Private
constructorOptional
customConfig: WPJSConfigOptionsPrivate
Readonly
_configStatic
Protected
_instanceGet the config
import { ConfigManager } from "@quickdevelopment/wp-js";
const config = ConfigManager.getInstance();
// It will return your earlier provided config
console.log(config.getConfig());
Private
loadPrivate
Load the config
Optional
customConfig: WPJSConfigOptionsStatic
getGet the instance
Optional
customConfig: WPJSConfigOptions1.0.0
Generated using TypeDoc
ConfigManager
Description
ConfigManager is a singleton class that loads the config from wp-js.config.ts
Example