To bind multiple events to a single handler with KineticJS, we can use the on() method and pass in a space delimited string containing multiple event types.
Instructions: Mouseover, mousedown, and mouseup over the circle to observe that the function bound to the circle is executed for each event.
Code Editor
Modified on April 9th, 2013
by Eric Rowell