Is there a way to attach event handler to a change of a canvas element? I need to fire a function whenever something draws anything on it.
canvas
For me I attached a click event on the canvas and I am able to detect if any thing is drawn on that canvas.
Fiddle here - http://jsfiddle.net/ashwyn/egXhT/2/
Check for text //Event if Drawn and you will understand where.
//Event if Drawn