摘要:jfinal+H5的websocket 实现同一账户在不同地点不同电脑只能登陆一个(互相踢下线):https://blog.csdn.net/liuyifeng1920/article/details/71713231
阅读全文
摘要:preventDefault()、stopPropagation()、return false 之间的区别 :https://www.cnblogs.com/dannyxie/p/5642727.html
阅读全文
摘要:e.target与e.currentTarget的区别:https://www.jianshu.com/p/1dd668ccc97a 事件冒泡与事件捕获 :https://www.jianshu.com/p/114954ad8fad 事件委托:https://www.jianshu.com/p/ac
阅读全文
摘要:什么是DOM,DOM level 1\2\3 的区别是什么:https://www.cnblogs.com/PopularProdigal/p/6506003.html DOM 文档对象模型(Document Object Model,简称DOM),是W3C组织推荐的处理可扩展标志语言的标准编程接口
阅读全文
摘要:clientHeight , scrollHeight , offsetHeight之间的区别及兼容方案:https://www.cnblogs.com/nanshanlaoyao/p/5964730.html height、clientHeight、scrollHeight、offsetHeigh
阅读全文
摘要:通过document.domain实现跨域访问:https://blog.csdn.net/nlznlz/article/details/79506655 前端跨域方法之document.domain和location.hash:https://blog.csdn.net/WEB_YH/articl
阅读全文
摘要:document.domain location.hostname location.host :https://www.cnblogs.com/shd-study/p/10303139.html document.domain vs location.hostname vs location.ho
阅读全文
摘要:JS 中document.URL 和 window.location.href 的区别:https://www.cnblogs.com/wayne173/p/3745997.html JS 中document.URL 和 window.location.href 的区别 实际上,document 和
阅读全文
摘要:移动端的设备提供了一个事件:orientationChange事件:https://blog.csdn.net/gong1422425666/article/details/79001836
阅读全文
摘要:User-Agent结构介绍及主流浏览器User-Agent大全:https://blog.csdn.net/qianxing111/article/details/79415857 一、基础知识篇: (一)、HttpHeader之User-Agent UserAgent中文名为用户代理,是Http
阅读全文
摘要:使用userAgent区分浏览器版本:https://blog.csdn.net/n447194252/article/details/76255489 JS根据userAgent值来判断浏览器的类型及版本:https://blog.csdn.net/zheng0203/article/detail
阅读全文
摘要:移动端返回上一页,刚需!document.referrer 详解:https://www.cnblogs.com/baiyygynui/p/6426621.html
阅读全文
摘要:关于结对项目中网页字体的教程 https://www.cnblogs.com/wowocandy-milk/p/9008174.html
阅读全文
摘要:在前端页面中使用@font-face来显示web自定义字体【转】:https://www.cnblogs.com/fjdingsd/p/5663561.html 本文转自W3CPLUS 的《CSS @font-face》 @font-face是CSS3中的一个模块,他主要是把自己定义的Web字体嵌入
阅读全文
摘要:es6新增 set:https://www.cnblogs.com/liuna/p/6171003.html es6新增 set Set 基本用法 ES6提供了新的数据结构Set。它类似于数组,但是成员的值都是唯一的,没有重复的值。 Set本身是一个构造函数,用来生成Set数据结构。 var s =
阅读全文
摘要:ES6之Array.from()方法:https://www.cnblogs.com/jf-67/p/8440758.html https://www.cnblogs.com/kongxianghai/p/7417210.html 1、类数组对象:所谓类数组对象,最基本的要求就是具有length属性
阅读全文
摘要:FIND、FINDINDEX、INDEXOF、LASTINDEX、INCLUDES 数组五种查询条件方法介绍:https://www.cnblogs.com/big-orange/p/6524197.html
阅读全文
摘要:FOREACH、MAP、FILTER、SOME、EVERY五个数组方法:https://www.cnblogs.com/big-orange/p/6524263.html
阅读全文
摘要:页面呈现、重绘、回流:https://www.cnblogs.com/big-orange/p/6423092.html
阅读全文
摘要:Sizzle选择器引擎介绍:https://www.cnblogs.com/bigbrother1984/p/4010492.html
阅读全文
摘要:from、includes、indexOf:https://blog.csdn.net/j59580/article/details/53897630?utm_source=blogxgwz1 语法 实例 // Array-like object (arguments) to Array // Ar
阅读全文
摘要:indexOf与includes的区别:https://blog.csdn.net/gtLBTNq9mr3/article/details/78700118 includes和indexOf相比较:相同点:二者所传的参数是一样的,第一个参数传要判断的元素,第二个参数传开始检索的下标位置不同点:返回值
阅读全文
摘要:ES6 find 和 filter 的区别 : 遇到个功能是要分类就想说在前端过滤,不要从查数据库的时候过滤了。然后就想说除了filter还有啥好用的 发现有个find,测试一番之后发现 const list = [{'name':'1',index:1},{'name':'2'},{'name':
阅读全文
摘要:forEach究竟能不能改变数组的值 :https://blog.csdn.net/ZhengKehang/article/details/81281563 初学者每次提到Array对象的时候有些烦人,有些方法是改变原数组的,有些则不改变原数组。 有趣的存在~forEach这个方法,或者说数组存储的
阅读全文
摘要:用vuex写了一个购物车H5页面的示例代码:https://www.jb51.net/article/152008.htm 通过购物车的一个案列,把vuex学习了一篇。 vuex概念浅谈 Vuex 是一个专为 Vue.js 应用程序开发的状态管理模式。它采用集中式存储管理应用的所有组件的状态,并以相
阅读全文
摘要:css如何引入外部字体? 第一步,在CSS中引入字体并给名字取一个合适的名字,如下 1 2 3 4 5 6 7 @font-face { /* font-properties */ font-family: pictos; src:url('pictos/pictos-web.woff'), url
阅读全文
摘要:移动开发中更好的图片自适应:https://www.cnblogs.com/littledu/p/4169077.html 移动开发中更好的图片自适应 一直以来,我们在 PC 端开发中,都要求给图片写上一个宽高,以避免图片加载后造成的 reflow 。但在移动端开发中,为了能适配各种各样的屏幕尺寸,
阅读全文