API Reference > imodeljs-frontend > Plugins > Plugin > constructor 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 Returns - Plugin Defined in core/frontend/src/plugin/Plugin.ts Line 58 Last Updated: 13 June, 2024