07 2016 档案
摘要:In this lesson, we look at how you can build up complex animations by assigning one shape as the parent of another, creating a branching display tree.
阅读全文
摘要:In this lesson we'll create a reusable React Native separator component which manages it's own styles. In this lesson we'll create a reusable React Na
阅读全文
摘要:To show a list of unchanging data in React Native you can use the scroll view component. In this lesson, we'll map through the data we got back from t
阅读全文
摘要:In this React Native lesson, we will be creating a reusable Badge component. The component will also make use of propTypes to validate that its requir
阅读全文
摘要:Let's take a look at the basics of using React Native's Image component, as well as adding some reusable styling to our Dashboard component buttons. W
阅读全文
摘要:This lesson is a quick tour of the predefined shape objects in GIF Loop Coder. Cube: image and IOS box:
阅读全文
摘要:With React Native you use ActivityIndicatorIOS to show or hide a spinner. In this lesson we combine ActivityIndicatorIOS with our HTTP requests in ord
阅读全文
摘要:In this lesson we cover the different methods for defining and animating colors in GIF Loop Coder. Link: http://www.gifloopcoder.com/docs/styles.html#
阅读全文
摘要:The way you make HTTP requests in React Native is with the Fetch API. In this video we'll talk about Fetch and how to work with promises. As we build
阅读全文
摘要:let person = { firstName: "Zhentian", lastName: "Wan" }; /*Object.freeze() makes object cannot be updated, added or deleted*/ let freezePerson = Object.freeze(person); freezePerson.address="Finl...
阅读全文
摘要:In React, components manage their own state. In this lesson, we'll walk through building a component which manages it's own state as well as using Tex
阅读全文
摘要:Previous, we animate the item by passing an array to tell the start position and end position. To make thing more interesting, we actually can pass th
阅读全文
摘要:This video discusses the default interpolation in GIF Loop Coder, and four distinct ways to change that interpolation to add variety to your animation
阅读全文
摘要:Let's say we have a list of contacts, click each contact, we can render a new route to get the detail. Define the routers: path: '', --> here empty pa
阅读全文
摘要:Inside the app component, we use NavigatiorIOS to render the compoent: This is like rouer. 'initialRoute': for the initial loading, it will loads 'Mai
阅读全文
摘要:We'll download the requirements for getting started with React Native, refactor our app to ES6, walk through debugging, and talk about the philosophy
阅读全文
摘要:.noselect { -webkit-touch-callout: none; /* iOS Safari */ -webkit-user-select: none; /* Chrome/Safari/Opera */ -khtml-user-select: none; /* Konqueror */ -moz-...
阅读全文
摘要:In this lesson, we discuss animating using arrays, and how different data types are interpolated while animating. If you want smooth animation, the ar
阅读全文
摘要:Introducing the program, GIF Loop Coder, which allows you to make looping animated gifs (and other types of animations) using JavaScript and HTML5 Can
阅读全文
摘要:Install: Create a project: Run the project: Change the port: Create a component: The component will be created in src/app/contact-list-component. Gene
阅读全文
摘要:Use map() and Number() to convert to number if possilbe or NaN.
阅读全文
摘要:In this lesson, we'll setup Ember-CLI and use it to create and run our first Ember.js project. Install: Run: Serve:
阅读全文
摘要:This lesson shows you how to build a Toggle Button in Angular 2 from scratch. It covers using transclusion in Angular 2, setting up your own two-way b
阅读全文
摘要:In this lesson we look at using color and the basic drawing methods of p5js, and how they can be combined to create a simple graphic on the canvas.
阅读全文
摘要:Classnames is a simple yet versatile javascript utility that joins CSS class names based on a set of conditions. We are going to build a simple toggle
阅读全文
摘要:Most of the components that you write will be stateless, meaning that they take in props and return what you want to be displayed. In React 0.14, a si
阅读全文
摘要:Origins made up of three parts the data scheme, the hostname and the prot. It is important to know that it is user broswere enforces the same origin p
阅读全文
摘要:1. HOL (HEADS of LINE BLOCKING) Too many requests in the header tag. Broswer can allow 6 reuqest to be handled simultaneously. And each request and it
阅读全文
摘要:If you go a public caffee shop, they have free wifi. How could you make sure your infomration cannot be read by a second person? Well, in HTTP1.1, You
阅读全文
摘要:HEAD: HEAD is a interesting method, it allow you to get a header of file without get the whole content. It allows you to check whether there is enough
阅读全文
摘要:In this lesson we will look at all of the pieces that combine together to create a JWT (j AWT) or JSON Web Token. You will use node to create a JWT, a
阅读全文
摘要:Improving our mouse drag event Our mouse drag event is a little too simple. Notice that when we drag around the sprite, it always positions itself at
阅读全文