We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
开发中后台管理应用,需要嵌入多个不同子项目,希望能够在主应用侧解决嵌入的子应用布局问题,通过事件中心在布局中处理主子应用交互。
子应用无需进行任何样式处理,只需保证不会与主应用提供的基础布局样式冲突即可,主应用可通过ShadowDom进行样式隔离。
iframe自身支持硬隔离,无需做特定处理,但部分api可能需要进行劫持代理:location.href、window.open、a标签、history.replaceState、history.pushState。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
背景
期望的效果
样式隔离
子应用无需进行任何样式处理,只需保证不会与主应用提供的基础布局样式冲突即可,主应用可通过ShadowDom进行样式隔离。
JS沙箱
iframe自身支持硬隔离,无需做特定处理,但部分api可能需要进行劫持代理:location.href、window.open、a标签、history.replaceState、history.pushState。
效果图
The text was updated successfully, but these errors were encountered: