上一页 1 ··· 4 5 6 7 8 9 10 11 下一页
摘要: tooltip: { trigger: "item", formatter: "{b}: {c}%", position: function (point, params, dom, rect, size) { // 鼠标坐标和提示框位置的参考坐标系是:以外层div的左上角那一点为原点,x轴向右,y 阅读全文
posted @ 2020-12-09 15:45 玛卡巴鉲 阅读(1220) 评论(0) 推荐(0) 编辑
摘要: 1.https://libraries.io/ 2.https://registry.npm.taobao.org/ 这个地址后面直接加你要下载的包名,进去之后找到下面的地址,要对应你需要的版本,复制到浏览器地址,回车完事 记录进步 阅读全文
posted @ 2020-12-04 10:04 玛卡巴鉲 阅读(556) 评论(0) 推荐(0) 编辑
摘要: url: "",method: "",data:,responseType: "arraybuffer" 阅读全文
posted @ 2020-11-27 14:37 玛卡巴鉲 阅读(70) 评论(0) 推荐(0) 编辑
摘要: 1.水平书签 /* S 水平方向的标签 */ .tag-horizontal { position: absolute; background: #00cd32; padding: 0 5px; display: flex; align-items: center; height: 26px; co 阅读全文
posted @ 2020-10-27 09:01 玛卡巴鉲 阅读(272) 评论(0) 推荐(0) 编辑
摘要: https://juejin.im/post/6869659680496041991 https://blog.csdn.net/zh_rey/article/details/72473284 一、设置input 的placeholder的字体样式 input::-webkit-input-plac 阅读全文
posted @ 2020-09-08 17:07 玛卡巴鉲 阅读(114) 评论(0) 推荐(0) 编辑
摘要: https://segmentfault.com/a/1190000018428170 1. 防抖 首先提出第一种思路:在第一次触发事件时,不立即执行函数,而是给出一个期限值比如200ms,然后: 如果在200ms内没有再次触发滚动事件,那么就执行函数 如果在200ms内再次触发滚动事件,那么当前的 阅读全文
posted @ 2020-09-08 14:36 玛卡巴鉲 阅读(144) 评论(0) 推荐(0) 编辑
摘要: 日期正则: yyyyMMdd yyyy-MM-dd yyyy/MM/dd yyyy.MM.dd ^(?:(?!0000)[0-9]{4}([-/.]?)(?:(?:0?[1-9]|1[0-2])\1(?:0?[1-9]|1[0-9]|2[0-8])|(?:0?[13-9]|1[0-2])\1(?:2 阅读全文
posted @ 2020-07-23 09:10 玛卡巴鉲 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 来自:https://jack-cool.github.io/2019/08/05/tsconfig-json-%E9%85%8D%E7%BD%AE%E8%AF%A6%E8%A7%A3/ { "compilerOptions": { /* Basic Options */ "target": "es 阅读全文
posted @ 2020-06-29 11:38 玛卡巴鉲 阅读(681) 评论(0) 推荐(0) 编辑
摘要: 1.for..of和for..in均可迭代一个列表;但是用于迭代的值却不同,for..in迭代的是对象的 键 的列表,而for..of则迭代对象的键对应的值。 let list = [4, 5, 6]; for (let i in list) { console.log(i); // "0", "1 阅读全文
posted @ 2020-06-29 10:57 玛卡巴鉲 阅读(1218) 评论(0) 推荐(0) 编辑
摘要: 原网址:https://segmentfault.com/a/1190000023001428 分支操作 git branch 创建分支 git checkout -b 创建并切换到新建的分支上 git checkout 切换分支 git branch 查看分支列表 git branch -v 查看 阅读全文
posted @ 2020-06-24 14:40 玛卡巴鉲 阅读(111) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 下一页