12 2017 档案

摘要:首先说一下textarea的高度随文字的内容自适应,用div模拟textarea。直接看代码。其中 再说下外层的div随内层的div高度自适应。直接看代码。起到作用的是在外层div的样式上加display:table 阅读全文
posted @ 2017-12-20 16:00 逗比煎饼侠 阅读(667) 评论(0) 推荐(0)
摘要:PC端的拖拽事件: 1.reader.readAsDataURL(oFile); 2.reader.readAsArrayBuffer(oFile); 3.reader.readAsBinaryString(oFile); 4 . reader.readAsText(oFile); 阅读全文
posted @ 2017-12-17 17:55 逗比煎饼侠 阅读(193) 评论(0) 推荐(0)
摘要:学习了H5中的webworker 下面写了个demo:一个加法计算器 在html文件中: 在w1.js文件中 阅读全文
posted @ 2017-12-17 17:00 逗比煎饼侠 阅读(266) 评论(0) 推荐(0)
摘要:localStorage和sessionStorage的区别: 1.存一个对象进localStorage 阅读全文
posted @ 2017-12-17 16:57 逗比煎饼侠 阅读(136) 评论(0) 推荐(0)
摘要:video和audio学习 demo: 阅读全文
posted @ 2017-12-17 16:54 逗比煎饼侠 阅读(325) 评论(0) 推荐(0)
摘要:demo; 阅读全文
posted @ 2017-12-17 16:53 逗比煎饼侠 阅读(172) 评论(0) 推荐(0)
摘要:demo:https://github.com/fei1314/HammerJs/tree/master 知识点: 更多用法见官网:http://hammerjs.github.io/getting-started/ 阅读全文
posted @ 2017-12-17 15:36 逗比煎饼侠 阅读(176) 评论(0) 推荐(0)
摘要:demo:https://github.com/fei1314/echarts/tree/master 基本使用: 更多用法见官网:http://echarts.baidu.com/api.html#echarts 阅读全文
posted @ 2017-12-16 21:19 逗比煎饼侠 阅读(102) 评论(0) 推荐(0)
摘要:1.旋转 2.缩放 3.手势识别 4.方向锁定 5.上拉刷新 6.下拉加载 demo:https://github.com/fei1314/Gesture-recognition/tree/master 阅读全文
posted @ 2017-12-10 13:28 逗比煎饼侠 阅读(165) 评论(0) 推荐(0)
摘要:demo:https://github.com/fei1314/SVG/tree/master 阅读全文
posted @ 2017-12-09 21:26 逗比煎饼侠 阅读(139) 评论(0) 推荐(0)
摘要:demo见github:https://github.com/fei1314/drag/tree/master 阅读全文
posted @ 2017-12-03 16:55 逗比煎饼侠 阅读(293) 评论(0) 推荐(0)
摘要:测试的demo在github上:https://github.com/fei1314/mobileDesign/tree/master 阅读全文
posted @ 2017-12-03 10:19 逗比煎饼侠 阅读(139) 评论(0) 推荐(0)