Browser support for stopImmediatePropagation?

There is stopPropagation()no IE support for it , but it requires workarounds , but I can’t say if the same is true stopImmediatePropagation()- is it safe for all browsers or does it require its own set of workarounds?

+6
source share
2 answers

The stop feedback mentioned in another answer is related to the method originally available in the browser for the object event, while the jQuery method stopPropagation()works fine in the entire browser (since this is a shell for the same task, taking into account the capabilities of the browser in which this method is run )

+2
source

JavaScript JavaScript event.stopImmediatePropagation, , , :

Event.prototype.stopImmediatePropagation

:

  • Internet Explorer 9 +
  • Firefox 10 +
  • Chrome 6 +
  • Safari 5.0 +
  • Opera 15+ (Presto stopImmediatePropagation)
+15

Source: https://habr.com/ru/post/1712400/


All Articles