原创 Design patterns for replacing modal windows
Problem I’ve been asked to add modal windows to our Appway App. However, I’ve heard that Appway discourages the use of
原创 常用meta整理
< meta > 元素 概要 標籤提供關於HTML文檔的元數據。元數據不會顯示在頁面上,但是對於機器是可讀的。它可用於瀏覽器(如何顯示內容或重新加載頁面),搜索引擎(關鍵詞),或其他 web 服務。 —— W3School 必要
原创 此像素非彼像素
本文由99根據Patrick H. Lauke的《A pixel is not a pixel is not a pixel》所譯,整個譯文帶有我們自己的理解與思想,如果譯得不好或不對之處還請同行朋友指點。如需轉載此譯文,需註明英文出
原创 The 101 Most Useful Websites
ctrlq.org/screenshots – for capturing screenshots of web pages on mobile and desktops.dictation.io – online voice re
原创 ANGULAR 2 CHANGE DETECTION EXPLAINED
NG-NL has happened and it was awesome! I had the honour of giving a talk about change detection in Angular 2 and it se
原创 聲明JavaScript函數的六種方法
一個函數一次性定義的代碼塊可以多次調用。在JavaScript中,一個函數有很多元素組成,同時也受很多元素影響: 函數體的代碼 函數的參數列表 接受外部變量域的變量 返回值 當函數被調用時,this指上下文 命名和匿名函數 函數對象作
原创 Interacting efficiently with a RESTful service with Angular2 and RXJS (Part 3)
In the previous part of the article, we dealt with the way to manage data from a RESTful service and to link requests
原创 Which Layout? Static, Liquid, Adaptive, or Responsive
When discussing a page layout, web designers will often use terms like fixed, static, liquid, adaptive, responsive, an
原创 Lodash 中 assign,extend 和 merge 的區別
簡介 我們經常在別人的代碼中看見 assign,extend,merge 函數,這三個函數用起來很相似,都是合併源對象的屬性到目標對象中。 既然都是合併對象,爲什麼還分三個不同的函數呢?它們之間到底有什麼區別呢? assign(o
原创 Angular 2 - DI
DI Core Abstractions The library is built on top of the following core abstractions: Injector, Binding, and Depend
原创 Using the Chrome Debugger Tools, part 3: The Sources Tab
Using the Chrome Debugger Tools, part 3: The Sources Tab A few months ago, I started putting together a series of tuto
原创 Using TemplateRef to create a tooltip/popover directive in Angular 2
This post is about a Component created in the context of our application development.There is a demo here, and you c
原创 JavaScript:事件流與事件處理程序
*事件**:就是文檔或瀏覽器窗口中發生的一些特定的交互瞬間。 事件流 事件流:描述的是從頁面中接收事件的順序。IE和Netscape提出了完全相反的事件流的概念。IE的事件流是事件冒泡流,而Netscape的事件流是事件捕獲流。 事件冒
原创 APP設計閱讀:6本交互設計殿堂級的書籍
第1本:《The Design of Everyday Things》(交互聖經級的書) 中文名稱:設計心理學 這是一本高屋建瓴、縱觀全局但又細心講解、細密入微的設計之書。凝練的原則+細緻的論述+實際的例子+擴展的註解和引用,是這本
原创 Angular2 - Change detection
Change detection Every component gets a change detector responsible for checking the bindings defined in its templa