Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 825 Bytes

README.md

File metadata and controls

26 lines (16 loc) · 825 Bytes

ngWorker

Web worker in angular

ngWorker install

bower install https://github.com/match08/ngWorker.git --save

ngWorker demos

计数demo:  			      
https://match08.github.io/ngWorker/www/demo1.html

绘制1000个小球demo:
https://match08.github.io/ngWorker/www/demo2.html

绘制1000个小球碰撞动画demo:  
https://match08.github.io/ngWorker/www/demo3.html

ngWorker录制声音demo:  
https://match08.github.io/ngWorkerAudioRecorder/demo/www/demo1.html

什么是 Web Worker? 当在 HTML 页面中执行脚本时,页面的状态是不可响应的,直到脚本已完成。 web worker 是运行在后台的 JavaScript,独立于其他脚本,不会影响页面的性能。您可以继续做任何愿意做的事情:点击、选取内容等等,而此时 web worker 在后台运行。