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.

Returns - Promise<PluginLoadResults>

Defined in

Last Updated: 13 June, 2024