-
js获取操作系统信息代码示例
兼容新老浏览器,老的api是navigator.platform, 新的api是navigator.userAgentData.platform
-
使用screen.orientation api(window.orientationchange事件废弃)代码示例
screen orientation api example
-
Android浏览器设置屏幕方向代码示例
使用Screen Orientation API设置屏幕方向,注意safari目前还不支持。
-
现代JS新功能:Intl(国际化API)代码示例
Intl对象是ECMAScript国际化API的名称空间,它用来支持对语言敏感的字符串比较、数字、日期和时间格式化。
-
Web文件系统访问API代码演示 - 访问和删除本地目录及目录下的文件
File System Access API demo,技术规范链接:https://wicg.github.io/file-system-access/
-
IntersectionObserver(相交观察器)API在线实例演示
Intersection Observer API Demo (https://w3c.github.io/IntersectionObserver)
-
使用Web动画API和SVG实现的自动签名(笔画)动画
Linked Letter Writing with SVG and Web Animations API
-
使用Web Animation API和CSS3 clipPath裁剪路径实现的侧滑式相册
Side-Slide Image Gallery with clipPath and Web Animations API, 点击图片,从左侧列表滑入中间并显示图片全貌。
-
微信H5获取陀螺仪/重力感应代码示例
DeviceOrientationEvent是获取方向,得到device静止时的绝对值; DeviceMotionEvent是获取移动速度,得到device移动时相对之前某个时间的差值比 设备定位API,该API允许你收集设备的方向和移动信息。此外,该API只在具备陀螺仪功能的设备上使用。
- 推广服务(新)
HTML5免费在线教程
techbrood.com
我想推广...- 最新文章
WebGIS(Web Map)基础概念简介
大地水准面 (geoid)大地水准面是海洋表面在排除风力、潮汐等其它影响,只考虑重力和自转影响下的形状,这个形状延伸过陆地,生成一个密闭的曲面。虽然我们通常说...
Stone 3D Demo Cases
新能源虚拟城市概念展https://wow.techbrood.com/static/20210108/60580.html邻里家全景图浏览https://wow.techbrood.com/static/20210223/61008.html3D电子调音...
Techbrood Stone 3D IDE Release Notes
Stone 3D致力于在沉浸式网页(web3d/webxr)应用领域提供一款可以和Unity、Unreal相互竞争的轻量级引擎。Stone的体量只有Unity、Unrea...
Linux Apache2如何开启gzip (deflate module) 压缩功能
检查你的网站是否启用了gzip,用chrome打开网站比如http://www.techbrood.com选中一个请求,查看Response header部分,...
网页3D编辑器Stone用户手册和使用说明
更多...