gesture-password
gesture-password copied to clipboard
Touch events on non native touch devices
Hi, I have desktop monitor with additional touch capabilities. I use your plugin gesture-password-vue to develop touch UI. This condition is false in my environment: if ('ontouchstart' in document.documentElement) and plugin doesn't work correctly...
But my OS API can handle touch events... Can you please remove this condition and always fire up all types of events: touch and mouse. Something like: // touch this.el.addEventListener('touchstart', touchstartFun, false); this.el.addEventListener('touchmove', touchmoveFun, false); this.el.addEventListener('touchend', touchendFun, false); // mouse this.el.addEventListener('mousedown', touchstartFun, false); this.el.addEventListener('mousemove', touchmoveFun, false); this.el.addEventListener('mouseup', touchendFun, false);
Thank you in advance!
I'm sorry, I only saw this information now because Github has too much information and my attention to this warehouse is very low. I'm not sure if you're still using this warehouse.