12 2021 档案
摘要:quilljs 工具栏 https://quilljs.com/docs/modules/toolbar/#container
阅读全文
摘要:https://www.jianshu.com/p/f82b6aca91c0 1、下载uc开发者版本;https://dev.ucweb.com/ 2、chrome://inspect 圈起来的地方,点击去查看
阅读全文
摘要:可以放在本机进行测试;
阅读全文
摘要:.a { &/deep/ { :global .class { } } }
阅读全文
摘要:https://wproxy.org/whistle/ SwitchyOmega
阅读全文
摘要:async:属性表明这个文件需要异步加载,避免网页失去响应;ie不支持这个属性; defer:ie支持
阅读全文
摘要:js 模块的模块化 https://www.ruanyifeng.com/blog/2012/10/asynchronous_module_definition.html 有了模块化,可以使用别人的代码,想要什么功能,加载什么模块; commonjs,amd commonjs:同步加载,requir
阅读全文
摘要:http://www.useragentstring.com/pages/useragentstring.php?name=Internet+Explorer
阅读全文
摘要:https://www.cnblogs.com/hhhyaaon/p/5928152.html
阅读全文
摘要:const reader = new FileReader(); reader.readAsArrayBuffer(file); // .readAsArrayBuffer() // 开始读取指定的 Blob中的内容, 一旦完成, // result 属性中保存的将是被读取文件的 ArrayBuff
阅读全文
摘要:FileReader文件读取器,它可以读取任意格式的内容。 MDN中: FileReader 对象允许Web应用程序异步读取存储 在用户计算机上的文件(或原始数据缓冲区)的内容, 使用 File 或 Blob 对象指定要读取的文件或数据。 const reader = new FileReader(
阅读全文
摘要:axios, 参数设置,responseType: 'arraybuffer' // 二进制数据格式化为ArrayBuffer // res: ArrayBuffer let data = res.data; // array buffer 转为 blob let url = window.URL.
阅读全文
摘要:let link = document.createElement('a'); link.style.display = 'none'; link.href = url; document.body.appendChild(link); link.click();
阅读全文