Icontem

Canvas Events: Emulate mouse events on canvas elements

Recommend this page to a friend!
  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 (5 years ago) RSS 2.0 feedNot enough user ratingsTotal: 374 This week: 1All time: 86 This week: 22Up
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
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:374
This week:1
All time:86
This week:22Up
User Comments (1)