Re: Mouse movement detection and processing from client UI

2021-12-07 Thread Bazil M H
Mouse clicks are client side actions. You need javascript to get that data. One solution maybe capturing the mouse clicks at the client side via javascript and sending the data as JSON to your backend by AJAX. Just a suggestion. On Thursday, 28 October 2021 at 11:24:39 UTC+5:30 Derek wrote: >

Re: Mouse movement detection and processing from client UI

2021-10-27 Thread Derek
I am not sure about the others, but certainly for map clicks you'll need JavaScript e.g. https://docs.mapbox.com/mapbox-gl-js/example/popup-on-click/ Of course, the page itself, with JS code links, snippets and supporting data can be generated via Django in the normal way. HTH On Wednesday, 2

Mouse movement detection and processing from client UI

2021-10-26 Thread Tristania W
So there are Python packages out there that can handle mouse movement detection locally. But for a Django app, how do we go about do this? Clearly we cannot have any processing power on the client machine. Below are some examples to be more specific: 1 - An e-commerce page where buyer clicks, dr