摘要: Use watchers to keep an eye on your data. Watchers are methods that are invoked when the specified attribute changes. They are useful when you want to 阅读全文
posted @ 2017-01-20 19:49 Zhentiw 阅读(228) 评论(0) 推荐(0)
摘要: You can add computed properties to a component to calculate a property on the fly. The benefit of this over invoking a method is that computed propert 阅读全文
posted @ 2017-01-20 19:48 Zhentiw 阅读(584) 评论(0) 推荐(0)
摘要: Just like in the command line, you can pipe a property through a filter to get a desired result. You can even chain them together! 阅读全文
posted @ 2017-01-20 19:13 Zhentiw 阅读(332) 评论(0) 推荐(0)
摘要: Components are one of the most powerful features of Vue. Let's take a look at how to write our first components and make use of them in a parent compo 阅读全文
posted @ 2017-01-20 19:05 Zhentiw 阅读(520) 评论(0) 推荐(0)
摘要: When using Radio button for Tamplate driven form, we want to change to the value change and preform some action. 阅读全文
posted @ 2017-01-20 18:13 Zhentiw 阅读(6772) 评论(0) 推荐(0)
摘要: In this lesson we'll use a handful of Ramda's utility functions to take a queryString full of name/value pairs and covert it into a JavaScript object 阅读全文
posted @ 2017-01-20 16:50 Zhentiw 阅读(213) 评论(0) 推荐(0)