Touch Events And Scroll


#1

Hello,

I am using webContents.enableDeviceEmulation to display my content the same way on a mobile and on desktop. Works great.

Unfortunately, I can’t find a way to simulate touch events in this DeviceEmulation view.

What I want to achieve is : simulate touchStart / touchMove / touchEnd events, and be able to scroll inside the view, just like when you use Chrome Device Emulation (when your cursor becomes a black circle and works like your finger)

Any idea ?

Thanks !


#2

Unless I’m mistaken, you are in the wrong forum. This is a discussion group about the Atom editor.


#3

I’m so sorry. You are right… My Bad.


#4

Closing this as duplicate of the new topic at:


#5