Extjs中app.js文件中的onUpdated函数什么时候执行
来源:互联网 发布:巴黎高等商学院 知乎 编辑:程序博客网 时间:2024/05/18 13:27
官方原版答案是:
As a short explanation: ‘onUpdated’ is triggered after either, or both of the following cases happen:
Your application’s HTML 5 manifest file (cache.manifest) changes. Read more on HTML 5 app cache if you’re new to this feature. Since cache.manifest is generated automatically, it contains the checksum values of all managed assets. As you modify the content of index.html file or any other file listed in the ‘appCache’ config inside app.json, their checksum values change -> the content of cache.manifest changes.
You have changes in any of your JavaScript or CSS assets listed in the “js” and “css” config inside app.json. Similarly to cache.manifest, when you build your application for production, a production version of app.json is generated automatically. This file contains checksums for all assets. By comparing the latest checksum values with the ones locally stored inside Local Storage, the app knows exactly what file has changed, and pull down the delta for that item, then patch its local copy to make it identical to the latest one.
经过亲自测试后发现:
如果更改了app.json中列出的文件,例如index.html,然后重新sencha app build
当再次打开系统时,该函数就会被执行。
- Extjs中app.js文件中的onUpdated函数什么时候执行
- jsp文件中引入js文件,文件中的函数失效不执行
- extjs 中的afterRender, onDestroy等函数什么时候调用啊
- extjs 中的afterRender, onDestroy等函数什么时候调用啊
- extjs 中的afterRender, onDestroy等函数什么时候调用啊
- js回调app中的函数
- js中的立即执行函数
- js中的立即执行函数
- JS中的立即执行函数
- js 中的立即执行函数
- jquery中的$(function(){...})什么时候执行
- jquery中的$(function(){...})什么时候执行
- js var 定义,什么时候执行呢
- js中的函数和执行环境
- finally代码块中的代码什么时候执行
- JAVA中对象什么时候死亡以及什么时候执行finalize()方法
- flex调用js文件中的函数以及调用iframe中js函数
- ExtJs Js中常用的格式化及时间处理函数
- Border-radius属性--设置圆角边框
- java内存区域探析
- Cocos2dx 背景音乐和效果音
- 根据Uri获取图片绝对路径,解决Android4.4以上版本Uri转换
- Angular 2最终版正式发布
- Extjs中app.js文件中的onUpdated函数什么时候执行
- 表达式求值算法总结
- 第3周项目3 求集合并集
- SDK API
- 自定义滑动开关SwitchButton
- javax.persistence.EntityExistsException:a different object with the same identifier value was alrea
- Android adb shell后面可用的常用命令详细列举
- 关于队列和栈的几道面试题
- ubuntu更新php