Canvas Events: Emulate mouse events on canvas elements

Recommend this page to a friend!
     
  Info   View files Files   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 386 All time: 94 This week: 4Up
Version License JavaScript version Categories
canvas-events 1.0BSD License1.0HTML, Graphics, Events
Description 

Author

This object can emulate mouse events on canvas elements.

It extends the HTML 5 canvas context object for a given canvas element and can register event handlers to be called when mouse events on the canvas element occur.

Currently it supports the events click, dblclick, mouseover, mouseout, mousemove, mouseup and mousedown events.

Picture of Arturs Sosins
  Performance   Level  
Name: Arturs Sosins <contact>
Classes: 51 packages by
Country: United States United States
Age: 36
All time rank: 1
Week rank: 6 Down
Innovation award
Innovation award
Nominee: 8x

Winner: 6x

  Files folder image Files (9)  
File Role Description
Plain text file canvas_events.js Class Main class
Plain text file canvas_events.packed.js Class Main class packed
Accessible without login Plain text file simple_shape_example.html Example Simple example with all events
Accessible without login Plain text file transformed_shape_example.html Example Example with transformations
Accessible without login Plain text file arc_example.html Example Example with an arc
Accessible without login Plain text file images_example.html Example Example with image
Accessible without login Plain text file complex_shape_example.html Example Complex shape using path
Accessible without login Plain text file multiple_shapes_example.html Example Example with multiple shapes
Accessible without login Plain text file drag_and_drop_example.html Example Drag and drop example

 Version Control Unique User Downloads Download Rankings  
 0%
Total:386
This week:0
All time:94
This week:4Up
User Comments (1)