3
I’m making a Shim/polyfill to work with CustomEvents
for IE8, but I’m having a problem detecting when the event is not standard.
In IE8 each element can have a different list of available events, there is no possibility to execute a attachEvent
other than an event available by default in the element.
In the IE8 debugger, when we apply a watch in the context of (this
in an element method) it shows a list object [Events]
which contains the available events of the.
The problem is that I cannot access this property without the debugger.
How can I access this list property, or is there any other way to find out what events are available in the element context?
I don’t have IE8 to test now, but you tried
Element.prototype.on...
? Or with a subtype ofElement
.– bfavaretto