Canvas Events: Emulate mouse events on canvas elements

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (9)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2011-08-22 (4 years ago) RSS 2.0 feedNot enough user ratingsTotal: 369 All time: 84 This week: 26Up
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: 50 packages by
Country: Latvia Latvia
Age: 28
All time rank: 1
Week rank: 7 Down1 in Latvia Latvia Equal
Innovation award
Innovation award
Nominee: 7x

Winner: 5x

  Files folder image Files  
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:369All time:84
 This week:0This week:26Up
 User Comments (1)