[whatwg] Mechanism to find available events

Biju bijumaillist at gmail.com
Mon Sep 20 20:15:53 PDT 2010


We need
HTMLNode.getSupportedEvents()  ==> returns a text array of event names
HTMLNode.isSupportedEvent(eventName)  ==> returns true/false

Many times in particular version of browser we dont know whether an
HTMLNode/window support particular event.
Or what are the alternate events available, so that we can refer some
document or do some test to find how it can be used.
So I wish we had above methods available.

More information about the whatwg mailing list