上一页 1 ··· 33 34 35 36 37 38 39 40 41 ··· 90 下一页
摘要: async:属性表明这个文件需要异步加载,避免网页失去响应;ie不支持这个属性; defer:ie支持 阅读全文
posted @ 2021-12-21 19:29 Running00 阅读(15) 评论(0) 推荐(0) 编辑
摘要: js 模块的模块化 https://www.ruanyifeng.com/blog/2012/10/asynchronous_module_definition.html 有了模块化,可以使用别人的代码,想要什么功能,加载什么模块; commonjs,amd commonjs:同步加载,requir 阅读全文
posted @ 2021-12-21 19:22 Running00 阅读(39) 评论(0) 推荐(0) 编辑
摘要: http://www.useragentstring.com/pages/useragentstring.php?name=Internet+Explorer 阅读全文
posted @ 2021-12-21 17:31 Running00 阅读(23) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/hhhyaaon/p/5928152.html 阅读全文
posted @ 2021-12-13 20:19 Running00 阅读(44) 评论(0) 推荐(0) 编辑
摘要: const reader = new FileReader(); reader.readAsArrayBuffer(file); // .readAsArrayBuffer() // 开始读取指定的 Blob中的内容, 一旦完成, // result 属性中保存的将是被读取文件的 ArrayBuff 阅读全文
posted @ 2021-12-13 19:34 Running00 阅读(353) 评论(0) 推荐(0) 编辑
摘要: FileReader文件读取器,它可以读取任意格式的内容。 MDN中: FileReader 对象允许Web应用程序异步读取存储 在用户计算机上的文件(或原始数据缓冲区)的内容, 使用 File 或 Blob 对象指定要读取的文件或数据。 const reader = new FileReader( 阅读全文
posted @ 2021-12-13 19:16 Running00 阅读(240) 评论(0) 推荐(0) 编辑
摘要: axios, 参数设置,responseType: 'arraybuffer' // 二进制数据格式化为ArrayBuffer // res: ArrayBuffer let data = res.data; // array buffer 转为 blob let url = window.URL. 阅读全文
posted @ 2021-12-13 19:11 Running00 阅读(187) 评论(0) 推荐(0) 编辑
摘要: let link = document.createElement('a'); link.style.display = 'none'; link.href = url; document.body.appendChild(link); link.click(); 阅读全文
posted @ 2021-12-13 19:07 Running00 阅读(17) 评论(0) 推荐(0) 编辑
摘要: 100-199 100-101 信息提示 200-299 200-206 成功 300-399 300-305 重定向 400-499 400-415 客户端错误 500-599 500-505 服务器错误 阅读全文
posted @ 2021-11-22 20:18 Running00 阅读(11) 评论(0) 推荐(0) 编辑
摘要: rtmp 阅读全文
posted @ 2021-11-18 13:46 Running00 阅读(18) 评论(0) 推荐(0) 编辑
上一页 1 ··· 33 34 35 36 37 38 39 40 41 ··· 90 下一页