반응형
반응형

javascript - setTimeOut

 

 

Example

Display an alert box after 3 seconds (3000 milliseconds):

 

setTimeout(function(){ alert("Hello"); }, 3000);

 

Definition and Usage

The setTimeout() method calls a function or evaluates an expression after a specified number of milliseconds.

Tip: 1000 ms = 1 second.

Tip: The function is only executed once. If you need to repeat execution, use the setInterval() method.

Tip: Use the clearTimeout() method to prevent the function to run. 

반응형
반응형

Paperclip.js: A powerful template engine for Node.js and the browser

 

Paperclip.js is a powerful template engine that’s built for extensibility and speed. It creates compiled templates for the browser and Node.js.

paperclip.js

reactive DOM template engine built for speed, and extensibility 

 

 

 

 

 

 

 

 

반응형
반응형

Vivus: An SVG animation library

Vivus is a JavaScript class for animating SVGs with no dependencies necessary. It offers asynchronous animations, delayed animations, and line-by-line animations.

vivus


vivus.js

Demo available on http://maxwellito.github.io/vivus

Vivus is a little JavaScript class (little, because it's being lightweight and having no dependency) to make drawing animation with SVGs in a webpage. Different animations are available, even scripting the entire SVG to do whatever you want.

Animations

반응형
반응형

Google Charts - Column Chart

 

https://google-developers.appspot.com/chart/interactive/docs/gallery/columnchart

 

Point 커스터마이징 : https://developers.google.com/chart/interactive/docs/points#fullhtml

 

 

 

- 우축 인덱스 영역은 legend

 

- 그래프 기준값을 0부터 보여주고 싶으면 minValue 를 이용하면 된다.

 

 

 

 

 

 

 

 

 

 

-------------------------------------------------------------------------------------

 

HTML

 

 

 

JAVASCRIPT

 

* 가로나 세로 인덱스에서 0 값으로 시작하고 싶으면 아래와 같이 지정. (minValue) 

 

 

 

화면 사이즈 변경시 화면에 맞게 Redraw

 

 

 

 

 

Visualization: Column Chart

 

 

 

 

 

 

 

 

 

반응형
반응형

Walkway.js: Easily animate SVG elements

 

 

 

 

Walkway.js is an easy way to animate your simple SVG elements. It includes built-in easing functions, and also has options for selector and duration.

walkway.js

 

 

 

반응형
반응형

AngularJS Fundamentals In 60-ish Minutes

 

 

http://angularjs.org

http://builtwith.angularjs.org

http://angular-ui.github.io

http://mgcrea.github.io/angular-strap

http://pluralsight.com

 

 

반응형

+ Recent posts