meltingice / CamanJS

Javascript HTML5 (Ca)nvas (Man)ipulation
http://camanjs.com
BSD 3-Clause "New" or "Revised" License
3.55k stars 404 forks source link

Example for listen events? #12

Closed jchaney closed 13 years ago

jchaney commented 13 years ago

Trying to figure out how to listen for the processStart event. I understand the callback on render(), but not sure where or how listen() should be called. I'm still a bit new at Javascript and the src appears to require target, type ( I assume 'processStart' ) and fn. What's the target?

meltingice commented 13 years ago

I have updated the wiki page with more information. Let me know if anything is still unclear!

https://github.com/meltingice/CamanJS/wiki/Camanjs-event-system