点击按钮退出app 有这个功能的代码吗?求大神指点

window_name
- 发布:2015-06-19 15:18
- 更新:2015-06-19 16:35
- 阅读:1969
点击按钮退出app 有这个功能的代码吗?求大神指点
分类:HTML5+

plus.runtime里有quitapp的方法,仅Android生效。
http://www.html5plus.org/doc/zh_cn/runtime.html#plus.runtime.quit
另外Hello H5+和Hello mui的demo里,都有点back键退出app的功能,看下代码。
window_name (作者)
谢谢大神
2015-06-19 17:02