constructor Method

Constructor for base Plugin class

Plugin(name: string): Plugin

note Typically, a Plugin subclass is instantiated and registered with top-level JavaScript statements like these:

 const myPlugin = new MyPlugin(PLUGIN_NAME);
 PluginAdmin.register(myPlugin);
Parameter Type Description
name string the name of the plugin. When you use the buildIModelJsModule build script, this argument is filled in as the PLUGIN_NAME constant by webpack

Defined in

Last Updated: 08 January, 2020