09 2019 档案

摘要:regexr is a powerful tool for debugging existing regexes and creating new ones. In this lesson, we'll use the app to create a regex that matches Twitt 阅读全文
posted @ 2019-09-27 14:56 Zhentiw 阅读(210) 评论(0) 推荐(0) 编辑
摘要:First way to create dynamic variable is using 'dymaic' keywrod: Second way is using 'var' but unassign any value: 阅读全文
posted @ 2019-09-22 19:35 Zhentiw 阅读(149) 评论(0) 推荐(0) 编辑
摘要:Turn on runtime check: Docs 阅读全文
posted @ 2019-09-22 17:16 Zhentiw 阅读(239) 评论(0) 推荐(0) 编辑
摘要:Make sure you have the@ngrx packages installed: To enable time travel debugging, you need to import: app.module.ts Enable add reducer for router: redu 阅读全文
posted @ 2019-09-22 17:08 Zhentiw 阅读(321) 评论(0) 推荐(0) 编辑
摘要:It's just like bindCallback, but the callback is expected to be of type callback(error, result). 阅读全文
posted @ 2019-09-20 15:20 Zhentiw 阅读(279) 评论(0) 推荐(0) 编辑
摘要:https://medium.com/flutter-community/flutter-layout-cheat-sheet-5363348d037e 阅读全文
posted @ 2019-09-20 01:14 Zhentiw 阅读(147) 评论(0) 推荐(0) 编辑
摘要:Use the Most Robust Selector for Cypress Tests Which selectors your choose for your tests matter, a lot. In this lesson, we'll see the recommended Cyp 阅读全文
posted @ 2019-09-19 16:01 Zhentiw 阅读(336) 评论(0) 推荐(0) 编辑
摘要:Inside of a flexed container, a single item can control its own flex with align-self. The possible values are flex-start, flex-end, center, or stretch 阅读全文
posted @ 2019-09-16 15:08 Zhentiw 阅读(181) 评论(0) 推荐(0) 编辑
摘要:We changed the axis layout with 'justify-content', and the "off axis" layout is controlled by 'align-items'. The most common values are flex-start, fl 阅读全文
posted @ 2019-09-16 14:59 Zhentiw 阅读(131) 评论(0) 推荐(0) 编辑
摘要:The :empty pseudo selector selects empty elements. We can use this to display useful messages instead of the empty content or hide the content complet 阅读全文
posted @ 2019-09-16 14:52 Zhentiw 阅读(149) 评论(0) 推荐(0) 编辑
摘要:What's in a name? In this lesson, I'll explain the concept of naming interactive elements for screen reader users, including forms, buttons, and links 阅读全文
posted @ 2019-09-15 16:17 Zhentiw 阅读(199) 评论(0) 推荐(0) 编辑
摘要:Animations can make people sick, or worse! By adding animation toggles and listening in to the user's system preference for reducing motion on OSX and 阅读全文
posted @ 2019-09-15 16:01 Zhentiw 阅读(123) 评论(0) 推荐(0) 编辑
摘要:Learn how to create a modal dialog with accessible keyboard and screen reader mechanics using the native HTML5 dialog element and experimental inert a 阅读全文
posted @ 2019-09-15 15:51 Zhentiw 阅读(258) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。
posted @ 2019-09-13 02:42 Zhentiw 阅读(2) 评论(0) 推荐(0) 编辑
摘要:/** * Module definition and dependencies */ angular.module('App.Child', []) /** * Component */ .component('child', { templateUrl: 'child.html', controller: 'ChildCtrl', }) /** * Controller */ .control 阅读全文
posted @ 2019-09-06 18:00 Zhentiw 阅读(300) 评论(0) 推荐(0) 编辑
摘要:We will learn how to work with Lists using a variety of methods made available in the dart:core library. We will explore the top methods for working w 阅读全文
posted @ 2019-09-04 15:26 Zhentiw 阅读(209) 评论(0) 推荐(0) 编辑
摘要:var str3 = '''Multi Line String'''; print( str3.splitMapJoin( RegExp(r'^', multiLine: true), // Matches the beginning of the line onMatch: (m) => '** ${m.group(0)}', // Adds asterisk to match onNonMat 阅读全文
posted @ 2019-09-04 15:18 Zhentiw 阅读(903) 评论(0) 推荐(0) 编辑
摘要:Streams represent a sequence of asynchronous events. Each event is either a data event, also called an element of the stream, or an error event, which 阅读全文
posted @ 2019-09-03 17:21 Zhentiw 阅读(215) 评论(0) 推荐(0) 编辑
摘要:This can be handy if you have a rate limit on API requests or if you need to pass the result of each promise to the next one. function fetchMessages(u 阅读全文
posted @ 2019-09-03 13:06 Zhentiw 阅读(111) 评论(0) 推荐(0) 编辑
摘要:For example we have a feature reducer like this: First of all, we can replace 'swtich' statement with normal Object: In case of ´actionReducer[type]´ 阅读全文
posted @ 2019-09-02 16:27 Zhentiw 阅读(186) 评论(0) 推荐(0) 编辑
摘要:Sometimes we might have some expensive function to calcuate state directly from template: The ´calculate´ function is a pure function, we can use memo 阅读全文
posted @ 2019-09-02 15:40 Zhentiw 阅读(250) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示