Emulate W3C event capturing model in IE

前端 未结 6 1354
野趣味
野趣味 2021-02-07 11:54

Is it possible to emulate event capturing in Internet Explorer?

An example:

one
two
three3



        
6条回答
  •  逝去的感伤
    2021-02-07 12:17

    IE has a Element.setCapture() method that you may find useful http://msdn.microsoft.com/en-us/library/ms536742(v=vs.85).aspx It allows you to route all mouse events to the element that called setCapture()

提交回复
热议问题