上一页 1 ··· 449 450 451 452 453 454 455 456 457 ··· 498 下一页
摘要: var ary = [ { id: 1, name: "Zhentian" }, { id: 2, name: "Alice" }];for..inPrint out the props namefor(let person in ary){ console.log... 阅读全文
posted @ 2015-12-26 18:03 Zhentiw 阅读(588) 评论(0) 推荐(0)
摘要: model.setValue('genreList[0].titles[0].rating', 5) .then(function (value) { model.get('genreList[0..1].title... 阅读全文
posted @ 2015-12-26 06:06 Zhentiw 阅读(155) 评论(0) 推荐(0)
摘要: Code: Joe Maddalone Instructor egghead.io Using parent compoment in css :hostremov... 阅读全文
posted @ 2015-12-24 18:44 Zhentiw 阅读(264) 评论(0) 推荐(0)
摘要: install Polymer and explore creating our first custom element: bower install polymerindex.html: Polymer include webcomponents-list.j... 阅读全文
posted @ 2015-12-22 03:13 Zhentiw 阅读(258) 评论(0) 推荐(0)
摘要: The combineReducers function we used in previous post:const todoApp = combineReducers({ todos, visibilityFilter});It accepts and object as agruement... 阅读全文
posted @ 2015-12-22 02:57 Zhentiw 阅读(236) 评论(0) 推荐(0)
摘要: Previous, we do composition with objects:const todoApp = (state = {}, action) => { return { todos: todos( state.todos, action ), v... 阅读全文
posted @ 2015-12-22 02:24 Zhentiw 阅读(300) 评论(0) 推荐(0)
摘要: Angualr 1.4:.directive('counter', function counter() { return { scope: {}, restrict: 'EA', transclude: true, bindToController: { cou... 阅读全文
posted @ 2015-12-21 02:26 Zhentiw 阅读(392) 评论(0) 推荐(0)
摘要: ngMessageFormatcan be installed via npm using the following command:$ npm install angular-message-format --saveangular.module('myApp', ['ngMessageForm... 阅读全文
posted @ 2015-12-21 02:07 Zhentiw 阅读(398) 评论(0) 推荐(0)
摘要: ngPluralizeis a directive that displays messages according to en-US localization rules. Person 1: Person 2: Number of People: Without Offset: ... 阅读全文
posted @ 2015-12-21 02:02 Zhentiw 阅读(580) 评论(0) 推荐(0)
摘要: Modernizris a library for detecting whether the user's browsers have certain features and based on the availability, we developers will trigger certai... 阅读全文
posted @ 2015-12-21 01:38 Zhentiw 阅读(286) 评论(0) 推荐(0)
上一页 1 ··· 449 450 451 452 453 454 455 456 457 ··· 498 下一页