meltingice / CamanJS

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

Is there ability to unbind events? #190

Open goneale opened 8 years ago

goneale commented 8 years ago

I am using CamanJS in an Angular environment, and work with new images after closing off a previous one. It would be great to be able to unbind events from firing such as "renderFinished" which share the same canvas on completion.

Thanks, and great library.

codemonkeynorth commented 4 years ago

I am using it in react and I'm getting multiple versions of the listener, because I can't find a way to "unlisten" eg on unmount etc

thanks