[html5] Canvas onClick event. Why not?

Stefano Gargiulo rastrano at gmail.com
Tue Nov 30 07:41:22 PST 2010

Hi all,

Why canvas objects doesn't implements liteners interfaces?

I know that's it's possible to implement a global click listener and then
use mouse coords to match the clicked object area, but this is not so
stright and flexible  (IMHO).

So my question is:

is it possible to implement  any "universal" code to attach an onclick event
to any canvas shape? why do not propose it for be part of standard?

Best regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/help-whatwg.org/attachments/20101130/73c4f842/attachment-0001.htm>

More information about the Help mailing list