xgqfrms™, xgqfrms® : xgqfrms's offical website of cnblogs! xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!

HTML Imports & polyfill

组件化浏览器的兼容性问题汇总

框架依赖的 Web 标准技术

优先级高

  1. HTML Imports
  2. HTML tempaltes
  3. ES6 to ES5 (搭建模块开发环境)

polyfill

https://github.com/webcomponents/webcomponentsjs/tree/v1#browser-support

https://github.com/webcomponents/webcomponentsjs/raw/v1/webcomponents-lite.js
https://github.com/webcomponents/webcomponentsjs/raw/v1/webcomponents-lite.js.map


html-imports & dynamic-imports

HTMLImports.loadImports(document.body)

https://github.com/webcomponents/html-imports#dynamic-imports

removed (2020.07.01)

https://caniuse.com/#search=html imports



©xgqfrms 2012-2025

www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!


posted @   xgqfrms  阅读(575)  评论(7编辑  收藏  举报
编辑推荐:
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
阅读排行:
· DeepSeek 开源周回顾「GitHub 热点速览」
· 记一次.NET内存居高不下排查解决与启示
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· .NET10 - 预览版1新功能体验(一)
历史上的今天:
2017-10-23 js console 性能测试 & don't-use-array-foreach-use-for-instead
2015-10-23 关于用户注册/登录网站的时候 “拖动滑块验证” 的,问题,实现,解决方案!
2015-10-23 Nginx Announcing NGINX Plus R7
2015-10-23 NPL ( neuro-linguistic programmers 神经语言程序员) / ( Neuro-Linguistic Programming 神经语言程序学/身心语言程式学/ 神经语言程式学/ 神经语言程式)
2015-10-23 Watch the Wifi: Visually Stunning Look at the Digital World Invading Cities (video)
2015-10-23 鼠标指针-制作方法
点击右上角即可分享
微信分享提示