MouseEvent not working in Internet Explorer

后端 未结 3 1679
你的背包
你的背包 2020-12-10 11:20

Is it me? Is it my IE? or why is this code not working on IE 11:

var clicker = new MouseEvent(\"click\", {
  \'bubbles\': true,
  \'cancelable\': true,
  \'v         


        
3条回答
  •  情歌与酒
    2020-12-10 11:51

    The MSDN documentation from the link you provided indicates that the new syntax for the DOM L4 event constructor pattern:

    Applies to Internet Explorer for Windows 10 Technical Preview and later.

    which is a different version of IE from what you are using. So it's expected that IE11 does not support this feature

提交回复
热议问题