javascript - Does Opera capture events by default and what is the correct behaviour? -
I had some event code that failed in Opera and I snatched it down
Actually The problem is that the event handler does not run in opera if the third parameter of This (old) article indicates that Opera is different from WebKit & amp; Lizard Browser: I'm not sure what to do about it though MDN says that the The default is If there is any doubt, see the device originally and still the current spec is W3C, seeing that It seems that the DOM Level 3 Event, although I do not think so Note: useCapture became optional only in more recent versions of major browsers; For example, it was not optional before Firefox 6. You should provide that parameter for comprehensive compatibility. Bottom line: It is always safe to pass in all three parameters, and Opera has the right to insist on it. addEventListener is not set. In Firefox and Chrome, the value in the Taxcake Internal is when the "Use is not used" - Button is clicked, but not in Opera.
useCapture should be the default on
false .
true in Opera, this parameter is optional, or what am I missing? What is the right behavior?
useCapture parameter is required because it is not an optional reference.
Comments
Post a Comment