abp_plugin_with_ui icon indicating copy to clipboard operation
abp_plugin_with_ui copied to clipboard

Change IFrame to create component on the fly

Open chanjunweimy opened this issue 8 years ago • 4 comments

Following the "Create-On-The-Fly" template, given in: https://github.com/maximusk/Here-is-what-you-need-to-know-about-dynamic-components-in-Angular

Achieving this will eliminate the use of "IFrame", making the framework more robust

chanjunweimy avatar Oct 16 '17 10:10 chanjunweimy

adding import of esnext to dynamically load module: https://stackoverflow.com/questions/36103641/dynamic-system-import-with-webpack

chanjunweimy avatar Oct 20 '17 09:10 chanjunweimy

Using Systemjs as library: https://stackoverflow.com/questions/46321477/get-and-load-a-remote-component-module-in-an-angular-4-4-app

chanjunweimy avatar Oct 20 '17 10:10 chanjunweimy

Do you have any update about this, I am very interesting in this. have you got this solution working without iframe?

charzhao avatar Apr 04 '18 06:04 charzhao

@charzhao actually I tried one solution, but it might have issue when inheriting css so I think it was a failure. One UI plugin example that I recently found out is Team Foundation Server: they chose to use IFrame as well (handled security etc), so I think the current method (iframe) is sufficient.

chanjunweimy avatar Apr 07 '18 14:04 chanjunweimy