上一页 1 ··· 6 7 8 9 10 11 12 下一页
摘要: load() : Load data from the server and place the returned HTML into the matched element. 如果只想加载文档的一部分,可以在URL后面添加一个空格和一个jQuery选择器 传入String发送GET请求,传入Obj 阅读全文
posted @ 2018-08-25 14:58 CodingSherlock 阅读(157) 评论(0) 推荐(0) 编辑
摘要: 基本概念 jQuery.fx.speeds["medium-fast"]=300;设置自定义时长 jQuery.fx.off 设置动画的开关 jQuery动画是异步的 jQuery动画默认是队列化的 动画方法中的回调函数中this指向当前执行动画的对象 自定义添加缓动函数 jQuery.easing 阅读全文
posted @ 2018-08-25 14:50 CodingSherlock 阅读(92) 评论(0) 推荐(0) 编辑
摘要: click()事件 focus() 和 blur()事件不支持冒泡,focusin和focusout支持 mouseenter和mouseleave不支持冒泡 mouseover和mouseout支持 hover()方法用来给mouseenter和mouseleave事件注册处理程序 hover(h 阅读全文
posted @ 2018-08-25 14:37 CodingSherlock 阅读(148) 评论(0) 推荐(0) 编辑
摘要: .attr&.prop asGet:Get the value of a property/an attribute for the first element in the set of matched elements. asSet:Set one or more properties/attr 阅读全文
posted @ 2018-08-25 14:19 CodingSherlock 阅读(222) 评论(0) 推荐(0) 编辑
摘要: $(target).method(content) $(content).method(target) append() 元素末尾追加 appendTo() prepend() 元素起始处插入 prependTo() after() 元素之后 insertAfter() before() 元素之前 阅读全文
posted @ 2018-08-25 12:34 CodingSherlock 阅读(95) 评论(0) 推荐(0) 编辑
摘要: jQuery全局命名空间中定义的唯一两个变量 jQuery $ $(document).ready(fn);//== 在DOMContentLoaded时触发,浏览器不支持时,会在load时触发 $(fn) jQuery.noConflict();//还原$()为初始值 jQuery对象返回的类数组 阅读全文
posted @ 2018-08-25 11:54 CodingSherlock 阅读(100) 评论(0) 推荐(0) 编辑
摘要: 先附上官网:https://cn.vuejs.org/v2/guide/ 2.2.0+版本 v-for 2.2.0+ 的版本里,当在组件中使用 v-for 时,key 现在是必须的。 鼠标修饰符 .left .right .middle 这些修饰符会限制处理函数仅响应特定的鼠标按钮。 model 允 阅读全文
posted @ 2018-08-21 16:43 CodingSherlock 阅读(1298) 评论(0) 推荐(0) 编辑
摘要: 浏览器在XMLHttpRequest类上定义了它们的HTTP API 常用的三个方法 GET,POST不用说 HEAD:请求资源的首部信息,通常用来判断资源的大小以决定是否要下载,以此节约资源。请求方式类似GET,无需发送请求体,且无响应主体 发送请求 GET,HEAD: POST: 请求主体 表单 阅读全文
posted @ 2018-08-02 09:39 CodingSherlock 阅读(3524) 评论(0) 推荐(0) 编辑
摘要: 想了解更多关于响应头的消息请参考:https://developer.mozilla.org/zh-CN/docs/Web/HTTP/Headers 阅读全文
posted @ 2018-08-01 18:08 CodingSherlock 阅读(406) 评论(0) 推荐(0) 编辑
摘要: 基本概念 视口坐标:相对于浏览器左上角或相对于框架页<iframe>元素的坐标,不包括浏览器的“外壳”。 文档坐标:相对于文档左上角的坐标 除IE8及更早的版本,Window对象的pageXOffset和pageYOffset属性在所有的浏览器中提供滚动条的位置。 IE和其他浏览器可以通过scrol 阅读全文
posted @ 2018-07-31 19:13 CodingSherlock 阅读(818) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 下一页