上一页 1 ··· 385 386 387 388 389 390 391 392 393 ··· 494 下一页
摘要: The every method returns true or false based on whether or not every item in the array passes the condition you provide in a callback function. In thi 阅读全文
posted @ 2016-11-07 19:22 Zhentiw 阅读(157) 评论(0) 推荐(0)
摘要: The key to being productive with Immutable JS is understanding how to update values that are nested. Using setIn you can place a new value directly in 阅读全文
posted @ 2016-11-07 19:14 Zhentiw 阅读(183) 评论(0) 推荐(0)
摘要: The writeValue function allows you to update your internal model with incoming values, for example if you use ngModel to bind your control to data. Th 阅读全文
posted @ 2016-11-01 21:55 Zhentiw 阅读(538) 评论(0) 推荐(0)
摘要: We can nest formGorup: We make password as an own group. So in html, we need to use formGroupName istead of formControlName. And how we check the valu 阅读全文
posted @ 2016-11-01 05:32 Zhentiw 阅读(436) 评论(0) 推荐(0)
摘要: To do auth, first you need to go firebase.console.com to enable the auth methods, for example, enable google, github... Enable goolge is quite simple, 阅读全文
posted @ 2016-10-31 03:00 Zhentiw 阅读(989) 评论(0) 推荐(0)
摘要: 'signupForm' is a formGroup. we can use 'hasError' & 'get()' methods to write the code. Refer to: Article && Doc 阅读全文
posted @ 2016-10-30 05:04 Zhentiw 阅读(310) 评论(0) 推荐(0)
摘要: Learn how to create a custom validator to check whether passwords match. confirmPasword validator is just a function, also a curry function. So it mea 阅读全文
posted @ 2016-10-30 04:50 Zhentiw 阅读(580) 评论(0) 推荐(0)
摘要: Learn how to update part of form model, full form model and reset whole form. We have form definetion like this: 阅读全文
posted @ 2016-10-30 03:38 Zhentiw 阅读(705) 评论(0) 推荐(0)
摘要: In this lesson, we are going to learn how to interact with native components through Cordova plugins. We will walk through how to add a Cordova plugin 阅读全文
posted @ 2016-10-28 22:44 Zhentiw 阅读(356) 评论(0) 推荐(0)
摘要: In this tutorial we are going to learn how we can also implement custom form field validation in Angular 2 template driven forms, by creating our own 阅读全文
posted @ 2016-10-28 18:35 Zhentiw 阅读(271) 评论(0) 推荐(0)
上一页 1 ··· 385 386 387 388 389 390 391 392 393 ··· 494 下一页