API Reference > imodeljs-frontend > Extensions > Extension > constructor constructor Method Constructor for base Extension class Extension(name: string): Extension note Typically, an Extension subclass is instantiated and registered with top-level JavaScript statements like these: const myExtension = new MyExtension(EXTENSION_NAME); IModelApp.extensionAdmin.register(myExtension); Parameter Type Description name string the name of the extension. Returns - Extension Defined in core/frontend/src/extension/Extension.ts Line 52 Last Updated: 11 June, 2024