ng-http-estimate:自动 $http 请求时间估计

时间:2021-06-02 05:55:14
【文件属性】:
文件名称:ng-http-estimate:自动 $http 请求时间估计
文件大小:105KB
文件格式:ZIP
更新时间:2021-06-02 05:55:14
JavaScript ng-http-估计 自动 $http 请求时间估计 ,,,, npm|bower install ng-http-estimate 在页面中包含“dist/ng-http-estimate.js”脚本并添加对“http-estimate”的依赖 angular.module('app', ['http-estimate']); 将加载元素放入正文中,您也可以对其进行样式设置 <body> ... </body> 该元素将自动出现在 HTML 请求中,并显示估计的剩余时间(如果以前计算过)或“正在加载...”消息。 或者,包含“dist/ng-http-estimate.css”文件以获得默认的居中样式。 特征 测量值保存在本地存储中。 $http 请求会被自动拦截。 如果要禁用拦截和控制启动/停止事件
【文件预览】:
ng-http-estimate-master
----package.json(956B)
----ng-http-estimate.js(5KB)
----index.html(2KB)
----dist()
--------ng-http-estimate.js(5KB)
--------index.html(2KB)
--------examples()
--------app.js(3KB)
--------README.md(4KB)
--------ng-http-estimate.css(402B)
----screenshot.png(84KB)
----Gruntfile.js(1KB)
----examples()
--------custom-estimator()
--------accuracy()
--------basic()
--------low-level()
----.gitignore(64B)
----.npmrc(36B)
----app.js(3KB)
----README.md(4KB)
----bower.json(663B)
----ng-http-estimate.css(402B)

网友评论