loadPlugin MethodStatic

Deprecated  call IModelApp.pluginAdmin.loadPlugin instead. Will be removed in iModel.js 2.0.

Load a Plugin

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

Parameter Type Description
pluginSpec string  
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