phosphorjs / phosphor

The PhosphorJS Library
BSD 3-Clause "New" or "Revised" License
1.04k stars 166 forks source link

Deprecated user-defined Event API #431

Closed xiezhongfu closed 4 years ago

xiezhongfu commented 4 years ago

"Create a new mouse event to use as the drag event....":https://github.com/phosphorjs/phosphor/blob/master/packages/dragdrop/src/index.ts#L1115

MouseEvent.initMouseEvent() is deprecated. try this ?

xiezhongfu commented 4 years ago

by the way, I love phosphor very much. the codes inspires me. 👍 🥇

sccolbert commented 4 years ago

Thanks! Unfortunately there are several deprecated browser APIs we have to use until all browsers support the new APIs. I don't believe Edge supports this one yet.