片段卸载时的事件? [英] Event when fragment is unloaded?
本文介绍了片段卸载时的事件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在Metro风格应用程序中,我可以在加载片段时添加事件监听器:
In a Metro Style App, I can add an event listener when a fragment is loaded:
WinJS.Application.addEventListener('fragmentappended',函数处理程序(e)
WinJS.Application.addEventListener('fragmentappended', function handler(e)
如何在删除或卸载片段时附加事件监听器?
how do I attach an event listener for when the fragment is removed or unloaded?
谢谢,
Michael
Michael S. Scherotter
首席建筑师布道师微软公司,以
博客,
Twitter , Facebook
Michael S. Scherotter
Principal Architect Evangelist Microsoft Corporation,
Blog,
Twitter, Facebook
推荐答案
嗨迈克尔,
你是如何卸载片段的?
-Jeff
这篇关于片段卸载时的事件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文