04 2019 档案

bind和on的区别
摘要:bind方法与on方法都是事件绑定,但是两者却又有着一个大区别:事件委托 jquery文档中bind和on函数绑定事件的用法: .bind(events [,eventData], handler) .on(events [,selector] [,data], handler) 从文档中可以看出, 阅读全文

posted @ 2019-04-29 14:29 王子乔 阅读(868) 评论(0) 推荐(0)

Vue如何更新子组件
摘要:黑科技: 给子组件绑定一个key值,当key值改变时,子组件就会更新 ~ 阅读全文

posted @ 2019-04-25 16:25 王子乔 阅读(4478) 评论(1) 推荐(0)

Vue父子组件生命过程
摘要:加载渲染过程 父beforeCreate->父created->父beforeMount->子beforeCreate->子created->子beforeMount->子mounted->父mounted 子组件更新过程 父beforeUpdate->子beforeUpdate->子updated 阅读全文

posted @ 2019-04-25 11:44 王子乔 阅读(149) 评论(0) 推荐(0)

使用css3实现动画来开启GPU加速
摘要:参考文章: https://www.w3cplus.com/css3/introduction-to-hardware-acceleration-css-animations.html http://blog.csdn.net/hsany330/article/details/50925260 用C 阅读全文

posted @ 2019-04-18 15:06 王子乔 阅读(4315) 评论(0) 推荐(0)

导航