We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 535113b commit 5db2595Copy full SHA for 5db2595
index.html
@@ -334,6 +334,8 @@
334
Object.assign(this, imjoy_api);
335
this.getWindow = this.getWindowOveride;
336
this.createWindow = this.createWindowOveride;
337
+ this.loadPlugin = this.loadPluginOveride;
338
+ this.getPlugin = this.getPluginOveride;
339
}
340
341
async getWindowOveride(config) {
@@ -348,6 +350,18 @@
348
350
return windowWrapper;
349
351
352
353
+ async loadPluginOveride(config) {
354
+ const plugin = await this.imjoy_api.loadPlugin(config);
355
+ const pluginWrapper = new PluginWrapper(plugin);
356
+ return pluginWrapper;
357
+ }
358
+
359
+ async getPluginOveride(config) {
360
+ const plugin = await this.imjoy_api.getPlugin(config);
361
362
363
364
365
async restart() {
366
await restart();
367
0 commit comments