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:
>
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
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
3 matches
Mail list logo