上一页 1 ··· 307 308 309 310 311 312 313 314 315 ··· 492 下一页
摘要: When the screen size is small, we can use "no more table" solution. So instead of render table is row layout, we render it in column layout. Given the 阅读全文
posted @ 2018-02-20 22:05 Zhentiw 阅读(385) 评论(0) 推荐(0)
摘要: In this lesson we are going to use Google's Puppeteer to gather metrics about a page's load time. We'll use a high level date subtraction method as we 阅读全文
posted @ 2018-02-20 16:49 Zhentiw 阅读(460) 评论(0) 推荐(0)
摘要: The React documentation has been warning us for a long time now that context shouldn't be used and that the API is unstable. Well, with the release of 阅读全文
posted @ 2018-02-20 02:33 Zhentiw 阅读(323) 评论(0) 推荐(0)
摘要: Every Angular CLI generated project comes already with Karmapreinstalled as well a couple of executable Jasmine specs. The default test reporter is "p 阅读全文
posted @ 2018-02-16 19:46 Zhentiw 阅读(136) 评论(0) 推荐(0)
摘要: 1. First you have enable "Developer mode" on your mobile device. (Different device might be different) "Settings" -> Click "Build Number" 7 times. 2. 阅读全文
posted @ 2018-02-15 17:14 Zhentiw 阅读(169) 评论(0) 推荐(0)
摘要: Using the New Device Emulation Interface The Device Emulation interface changed a bit with the newer version of Chrome Dev Tools. Here are the instruc 阅读全文
posted @ 2018-02-15 16:54 Zhentiw 阅读(157) 评论(0) 推荐(0)
摘要: In a proper unit test we want to isolate external dependencies as much as possible to guarantee a reliable test outcome. Http calls represent such ext 阅读全文
posted @ 2018-02-14 21:20 Zhentiw 阅读(565) 评论(0) 推荐(0)
摘要: In some cases your application might need to upload large amounts of data, such as files. Obviously for a good UX we should provide the user some feed 阅读全文
posted @ 2018-02-14 21:13 Zhentiw 阅读(251) 评论(0) 推荐(0)
摘要: By default the new Angular Http client (introduced in v4.3.1) uses JSON as the data format for communicating with the backend API. However, there migh 阅读全文
posted @ 2018-02-14 21:06 Zhentiw 阅读(371) 评论(0) 推荐(0)
摘要: By default the response body doesn’t contain all the data that might be needed in your app. Your server might return some special header which you hav 阅读全文
posted @ 2018-02-14 21:03 Zhentiw 阅读(521) 评论(0) 推荐(0)
上一页 1 ··· 307 308 309 310 311 312 313 314 315 ··· 492 下一页