会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
飘然离去
博客园
首页
新随笔
联系
管理
订阅
上一页
1
···
4
5
6
7
8
9
10
11
12
···
60
下一页
2018年4月7日
echarts4的学习
摘要: echarts的学习 1.echarts的全解注释。https://www.2cto.com/kf/201708/665624.html ### 2.从echarts3开始学习echarts源码。https://blog.csdn.net/future_todo/article/details/60
阅读全文
posted @ 2018-04-07 13:34 飘然离去
阅读(172)
评论(0)
推荐(0)
2018年4月5日
canvas资料
摘要: w3c比较全面的api http://www.w3school.com.cn/tags/html_ref_canvas.asp 一个总结比较全面的网站 http://blog.csdn.net/qq_33495993/article/details/50524642 效果集合 http://www.
阅读全文
posted @ 2018-04-05 11:40 飘然离去
阅读(167)
评论(0)
推荐(0)
2018年4月1日
async await与promise
摘要: 1.async 的返回值一定是一个promise。,即使你的函数里没有return. 2.因为有了await的限制,所以这里的async加不加都一样。 3. 例子3 var fs = require('fs'); async function asyncPrint() { await new Pro
阅读全文
posted @ 2018-04-01 08:48 飘然离去
阅读(160)
评论(0)
推荐(0)
2018年3月19日
关于window.onresize
摘要: 最后执行结果只打印bbb,而aaa不会打印。 解决方案:用js的自定义事件。或者jquery的$(window).on('click')来解决。 问题二:onresize注册的事件怎么销毁。 jquery的$(window).off('click',funtionName) 还有另外一种解决方式。
阅读全文
posted @ 2018-03-19 21:08 飘然离去
阅读(579)
评论(0)
推荐(0)
2018年3月4日
Js异常的处理
摘要: 博客1: https://segmentfault.com/a/1190000011481099 express中的异常处理:https://blog.fundebug.com/2017/12/06/handle-express-error/#more 一个超级不错的博客: http://blog.
阅读全文
posted @ 2018-03-04 11:52 飘然离去
阅读(117)
评论(0)
推荐(0)
2018年2月23日
npm
摘要: npm的版本 ~与^的区别。http://blog.csdn.net/u014291497/article/details/70148468 https://www.cnblogs.com/PeunZhang/p/5553574.html npm的安装和卸载npm initnpm init -y 表
阅读全文
posted @ 2018-02-23 14:57 飘然离去
阅读(106)
评论(0)
推荐(0)
2018年1月29日
eslint简单的规范
摘要: module.exports = { root: true, parser: 'babel-eslint', parserOptions: { sourceType: 'module' }, // https://github.com/feross/standard/blob/master/RULES.md#javascript-standard-style extends: '...
阅读全文
posted @ 2018-01-29 14:43 飘然离去
阅读(123)
评论(0)
推荐(0)
一个表单提交的时候需要注意什么
摘要: 1.如果有模态框的时候注意,样式方便要注意宽度随屏幕大小的变化,逻辑方面,模态框关闭的时候,在显示出来的时候模态框要重置。 2.表单提交一定要注意重复提交。 3.表单验证。注意哪些是必须填的,哪些是不必须填的,哪些需要做请前后去掉空格的处理。 4.使用trim方法前,切记判断是string. 5.在
阅读全文
posted @ 2018-01-29 10:50 飘然离去
阅读(206)
评论(0)
推荐(0)
2018年1月6日
js正则表达式的积累
摘要: 验证数字:^[0-9]*$ 验证n位的数字:^\d{n}$ 验证至少n位数字:^\d{n,}$ 验证m-n位的数字:^\d{m,n}$ 验证零和非零开头的数字:^(0|[1-9][0-9]*)$ 验证有两位小数的正实数:^[0-9]+(.[0-9]{2})?$ 验证有1-3位小数的正实数:^[0-9
阅读全文
posted @ 2018-01-06 13:46 飘然离去
阅读(136)
评论(0)
推荐(0)
2017年12月12日
css sticker footer
摘要: .detail position: fixed z-index: 100 top: 0 left: 0 width: 100% height: 100% overflow: auto .detail-wrapper width: 100% min-height: 100...
阅读全文
posted @ 2017-12-12 17:26 飘然离去
阅读(310)
评论(0)
推荐(0)
上一页
1
···
4
5
6
7
8
9
10
11
12
···
60
下一页
公告