转圈圈
上一页 1 2 3 4 5 6 7 ··· 11 下一页
摘要: 参考 "how to : hide content " "hiding content for accessibility" 阅读全文
posted @ 2019-07-21 23:33 rosendolu 阅读(494) 评论(0) 推荐(0) 编辑
摘要: 1. 上传图片 本地预览 获取图片大小 2. 上传视频 本地预览 获取视频 视频大小 图片上传 1. 主要涉及内容 `accept` 2. 获取 对象 3. 自定义上传框 隐藏 框 使用 方法 `::after` 4. 使用 对象实现本地预览 视频上传 获取 对象的方式、预览 跟上传图片一样 这里主 阅读全文
posted @ 2019-07-20 23:35 rosendolu 阅读(1782) 评论(0) 推荐(0) 编辑
摘要: install tip:首先需要安装好 "chocolatey" preprocessing basic usage variables nesting Import mixins @extend operators functions 参考: "sass basics" "阮一峰:sass用法指南 阅读全文
posted @ 2019-06-30 23:32 rosendolu 阅读(133) 评论(0) 推荐(0) 编辑
摘要: configuring eslint configuration comments configuration files 可以存放在HOME目录下,就不用每个项目都配置该文件。 package.json configuration file format & priority 1. 2. 3. 4 阅读全文
posted @ 2019-06-29 22:46 rosendolu 阅读(164) 评论(0) 推荐(0) 编辑
摘要: commitizen 参考: "Commit message 和 Change log 编写指南" "GitHub: commitizen" 阅读全文
posted @ 2019-06-06 13:26 rosendolu 阅读(280) 评论(0) 推荐(0) 编辑
摘要: ```js /** * @param {string} path * @return {string} */ function simplifyPath(path) { const pathArr = path.split('/').filter(item => item !== ''); const result = ['/']; for (const i of path... 阅读全文
posted @ 2019-05-31 12:02 rosendolu 阅读(96) 评论(0) 推荐(0) 编辑
摘要: 目录: 1. Array.prototype.slice.call 2. Array.from 3. Array.of 4. const toArr = (...args) = args Array.prototype.slice.call 类数组对象(Array like) Array.from 阅读全文
posted @ 2019-05-29 21:16 rosendolu 阅读(93) 评论(0) 推荐(0) 编辑
摘要: 目录: 1. swap(数字、字符串、) 2. reverseString 3. reverseWords swap reverseString js / @param {string} s string of (n) length @return {string} returns a revers 阅读全文
posted @ 2019-05-28 17:30 rosendolu 阅读(303) 评论(0) 推荐(0) 编辑
摘要: ```js /** * * 大数乘法 模拟乘法 * * @param {string} num1 整数字符串 * @param {string} num2 整数字符串 * @return {string} 整数字符串 */ function multiplication(num1, num2) { const result = Array.from({ length: num1.... 阅读全文
posted @ 2019-05-27 21:51 rosendolu 阅读(385) 评论(0) 推荐(0) 编辑
摘要: 目录 1. isNaN 2. Number.isNaN 3. (NaN != NaN) 4. Object.prototype.toString.call NaN == NaN NaN === NaN // false [NaN ].includes(NaN ) // true isNaN 如果传入 阅读全文
posted @ 2019-05-23 10:42 rosendolu 阅读(232) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 11 下一页