You are not logged in.

light_line

Trainee

  • "light_line" started this thread

Posts: 82

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: 82

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*