angular-async-loader:异步加载角度模块及其依赖项

时间:2021-06-18 09:34:45
【文件属性】:
文件名称:angular-async-loader:异步加载角度模块及其依赖项
文件大小:14KB
文件格式:ZIP
更新时间:2021-06-18 09:34:45
JavaScript 角度加载器 异步加载 angular 模块及其依赖项。 如果应用程序离线,加载器将等待在线以开始下载。 参见 ngCordova:$cordovaNetwork。 如果 $cordovaNetwork 可用,它将使用它来检查在线状态。 否则,它使用 navigator.onLine ,它不适用于所有浏览器。 Firefox 仅在离线模式下才会离线,而不是在连接断开时。 安装 使用凉亭: bower install --save angular-async-loader 在 angular.js 之后的 html 中包含脚本: < script src =" bower_components/angular-async-loader/dist/angular-async-loader.js>[removed] 然后导入angular模块。 angular . module (
【文件预览】:
angular-async-loader-master
----bower.json(873B)
----Gruntfile.js(4KB)
----src()
--------angular-async-loader.js(9KB)
----demo()
--------index.html(2KB)
--------angular-google-places.js(1KB)
----LICENSE(1KB)
----test()
--------test-angular-aync-loader.js(2KB)
----README.md(3KB)
----dist()
--------angular-async-loader.min.js(2KB)
--------angular-async-loader.js(8KB)
----.gitignore(48B)
----karma.conf.js(2KB)
----package.json(877B)

网友评论