I would like to bind a function to the mouseout
event of my <canvas>
element, and bind the same function to the blur
and contextmenu
events of my body. How would I go about binding this function to those elements at once, when there are different elements which need the same function bound to different events of each?
Thanks.