Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否有“正确”的方法可以从使用英特尔 App Framework UI 的移动应用程序中删除我将不再使用的面板?或者从 DOM 中删除面板 div 就足够了?我想这样做是因为主页变大了,使应用程序运行速度变慢,也许我可以通过这样做来释放一些资源。
只需.panel从 DOM 中删除 DIV 就可以使用$().remove().
.panel
$().remove()
只要确保没有href引用.panel.
href
您可能还希望$.ui.clearHistory()清除所有后退导航。
$.ui.clearHistory()