loadPlugin Method

Loads a Plugin

loadPlugin(pluginRoot: string, args?: string[]): Promise<PluginLoadResults>

Parameter Type Description
pluginRoot string the root name of the Plugin to be loaded from the web server.
args string[] arguments that will be passed to the Plugin.onLoaded and Plugin.onExecute methods. If the first argument is not the plugin name, the plugin name will be prepended to the args array.

Defined in

Last Updated: 08 January, 2020