上一页 1 ··· 370 371 372 373 374 375 376 377 378 ··· 491 下一页
摘要: What is Isomorphisms?We have a value x, then apply function 'to' and 'from' to value 'x', the result we should still get 'x'. So Isomorphisms is kind 阅读全文
posted @ 2017-01-23 15:15 Zhentiw 阅读(221) 评论(0) 推荐(0)
摘要: Use v-bind:class and v-bind:style to compute html classes and inline styles from component data. Vue.js will automatically add vendor prefixes when us 阅读全文
posted @ 2017-01-22 05:14 Zhentiw 阅读(264) 评论(0) 推荐(0)
摘要: this is probably the most tricky thing to use in JavaScript and therefore TypeScript. Fortunately there is a TypeScript compiler flag noImplicit this  阅读全文
posted @ 2017-01-21 17:41 Zhentiw 阅读(196) 评论(0) 推荐(0)
摘要: 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)
摘要: Let's use a range of events and their modifiers to look at the cool ways we can deal with event handlers in Vue. Using '@' replace 'v-on' @submit.prev 阅读全文
posted @ 2017-01-19 20:37 Zhentiw 阅读(143) 评论(0) 推荐(0)
上一页 1 ··· 370 371 372 373 374 375 376 377 378 ··· 491 下一页