上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 44 下一页
摘要: javascript实例调用他的构建函数对象中的属性: 假设list是Person.prototype中的属性, 值是“apple”。person1是Person的实例: read: (我的理解reference)调用person1.list,得到"apple"。这是person1实例通过原型链_p 阅读全文
posted @ 2018-09-20 09:17 Mr-chen 阅读(87) 评论(0) 推荐(0)
摘要: 基础 关键字"this"指向了当前代码运行时的对象( 原文:the current object the code is being written inside ) 定义template, 创建实际对象 object instances constructor function: JavaScri 阅读全文
posted @ 2018-09-19 17:15 Mr-chen 阅读(1501) 评论(0) 推荐(0)
摘要: 渲染函数 , JSX(没完成学习) 基础: 实例属性:vm.$slots default 属性包括了所有没有被包含在具名插槽中的节点. 渲染函数: render: function(createElement) { return createElement('h1', xxxxxx) } 案例: < 阅读全文
posted @ 2018-09-19 13:41 Mr-chen 阅读(622) 评论(0) 推荐(0)
摘要: 视频5 改进视觉效果,让list看起来更舒服。新增横向滚动功能。 参考我的trello:https://trello.com/b/BYvCBpyZ/%E6%AF%8F%E6%97%A5%E8%AE%B0%E5%BD%95 board的CSS设计参考,内部list的设计参考。 不是很精通css:直接抄 阅读全文
posted @ 2018-09-18 16:57 Mr-chen 阅读(786) 评论(0) 推荐(0)
摘要: Array: Javascritp中Array的方法: findIndex()方法返回数组中满足提供的测试函数的第一个元素的索引。否则返回-1。 find() 方法返回数组中满足提供的测试函数的第一个元素的值。否则返回 undefined。 别和Rails的find方法混淆了: person.pet 阅读全文
posted @ 2018-09-18 09:18 Mr-chen 阅读(553) 评论(0) 推荐(0)
摘要: 9-17 在add ,update, remove DOM时 提供多种方式的应用过度效果。 包括以下可选工具:(2大类,css和js) 在css过度和动画中自动应用class 配合使用第三方css动画库. Animate.css 在hook function 中使用Javascript直接操作DOM 阅读全文
posted @ 2018-09-17 11:56 Mr-chen 阅读(2751) 评论(0) 推荐(0)
摘要: 数据模型仅仅是普通的 JavaScript 对象。而当你修改它们时,视图会进行更新。 How Changes are Tracked check change notice delcaring Reactive Properties async update Queue 如何追踪变化 当把普通的Ja 阅读全文
posted @ 2018-09-16 20:58 Mr-chen 阅读(436) 评论(0) 推荐(0)
摘要: 安装资源库:从Vue资源:https://github.com/vuejs/awesome-vue下载 Libraries/UI Components/Form/Drag and Drop yarn add vuedraggable (5000🌟) (点击查看git) 相关博客(功能翻译):htt 阅读全文
posted @ 2018-09-16 10:51 Mr-chen 阅读(920) 评论(0) 推荐(0)
摘要: Turbolinks Turbolinks® makes navigating your web application faster. 功能: 自动优化导航。 无需server端配合。全HTML网页respond,不是部分网页片段或JSON Respects the web。返回和刷新按钮如你所想 阅读全文
posted @ 2018-09-15 21:32 Mr-chen 阅读(767) 评论(0) 推荐(0)
摘要: 系列视频: use Vue.js to build the drag and drop support for the list themselves the cards that are underneath them, and then we're going to be syncing(同步) 阅读全文
posted @ 2018-09-15 17:23 Mr-chen 阅读(483) 评论(0) 推荐(0)
上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 44 下一页