You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

light_line

Trainee

  • "light_line" started this thread

Posts: 91

Occupation: krpano freelancer || creating ideas & coding them || krpano developer

  • Send private message

1

Tuesday, April 23rd 2019, 5:05pm

get touch and mouse events in a plugin

Hi
I am developing a new plugin.
in my plugin, I add a layer to Krpano interface and set its type "text" and put some HTML elements in the added layer.
my issue is when the device is a touch device, my HTML codes don`t receive touch and mouse javascript events.
it sounds like, some "preventDefault()" codes prevent that my elements receive touch and mouse events.
how can I solve it?

light_line

Trainee

  • "light_line" started this thread

Posts: 91

Occupation: krpano freelancer || creating ideas & coding them || krpano developer

  • Send private message

3

Tuesday, April 23rd 2019, 10:20pm

Thanks a lot.
this link solved my issue. *thumbsup*