Javascript实现css/js/html懒加载
纯js实现css/js/hmtl懒加载,现在很多前端框架都有封装好的懒加载方式,那么原生该如何实现呢?话不多说 上代码~'use strict';var LazyLoader = (function() { function LazyLoader() { this._loaded = {}; this._isLoading = {}; } LazyLoader....
原创
2020-01-07 10:36:36 ·
1225 阅读 ·
1 评论