connection-aware-ember:使用网络信息API的连接感知Ember组件演示应用程序

时间:2021-02-04 23:35:43
【文件属性】:
文件名称:connection-aware-ember:使用网络信息API的连接感知Ember组件演示应用程序
文件大小:328KB
文件格式:ZIP
更新时间:2021-02-04 23:35:43
连接感知媒体 在此存储库中,我们有Ember Components根据用户的网络带宽提供媒体内容,例如图像和视频。 为此,我们将利用浏览器提供的Network Information API。 当前,唯一支持此api的浏览器是Chrome,不久我们期望所有浏览器都将开始支持网络信息api。 该组件完全基于MaxBöck的现有教程,MaxBöck是位于奥地利维也纳的前端Web开发人员。 Max已经在React中完成了组件,这是同一组件的Ember端口。 Ember组件将根据用户的连接质量呈现不同的元素: 离线:带替代文字的占位符2g:低分辨率图片3g:高分辨率图片4g:视频播放器 有一篇描
【文件预览】:
connection-aware-ember-master
----ember-cli-build.js(856B)
----public()
--------robots.txt(51B)
--------assets()
----testem.js(581B)
----.eslintrc.js(621B)
----.ember-cli(280B)
----.travis.yml(293B)
----config()
--------targets.js(305B)
--------environment.js(1KB)
----README.md(3KB)
----.editorconfig(368B)
----tests()
--------integration()
--------index.html(1KB)
--------test-helper.js(228B)
--------helpers()
--------unit()
----.gitignore(366B)
----app()
--------index.html(716B)
--------models()
--------styles()
--------controllers()
--------resolver.js(65B)
--------components()
--------helpers()
--------app.js(375B)
--------templates()
--------router.js(245B)
--------routes()
----.watchmanconfig(37B)
----.eslintignore(175B)
----package-lock.json(345KB)
----package.json(1KB)
----vendor()
--------.gitkeep(0B)

网友评论