12 2017 档案
摘要:首先说一下textarea的高度随文字的内容自适应,用div模拟textarea。直接看代码。其中 再说下外层的div随内层的div高度自适应。直接看代码。起到作用的是在外层div的样式上加display:table
阅读全文
摘要:PC端的拖拽事件: 1.reader.readAsDataURL(oFile); 2.reader.readAsArrayBuffer(oFile); 3.reader.readAsBinaryString(oFile); 4 . reader.readAsText(oFile);
阅读全文
摘要:学习了H5中的webworker 下面写了个demo:一个加法计算器 在html文件中: 在w1.js文件中
阅读全文
摘要:localStorage和sessionStorage的区别: 1.存一个对象进localStorage
阅读全文
摘要:demo:https://github.com/fei1314/HammerJs/tree/master 知识点: 更多用法见官网:http://hammerjs.github.io/getting-started/
阅读全文
摘要:demo:https://github.com/fei1314/echarts/tree/master 基本使用: 更多用法见官网:http://echarts.baidu.com/api.html#echarts
阅读全文
摘要:1.旋转 2.缩放 3.手势识别 4.方向锁定 5.上拉刷新 6.下拉加载 demo:https://github.com/fei1314/Gesture-recognition/tree/master
阅读全文
摘要:demo:https://github.com/fei1314/SVG/tree/master
阅读全文
摘要:demo见github:https://github.com/fei1314/drag/tree/master
阅读全文
摘要:测试的demo在github上:https://github.com/fei1314/mobileDesign/tree/master
阅读全文

浙公网安备 33010602011771号