Programming Tips - Web: change cursor (pointer icon) when dragging

Date: 2020oct14 Q. Web: change cursor (pointer icon) when dragging A. I doesn't seem to be possible using the drag'n'drop API. For example:
function onStartDrag(evt) { evt.target.style.cursor = 'wait'; // Try the hourglass as a test //evt.target.style.cursor = 'url(img/myicon.png)'; // Also no evt.dataTransfer.setDragImage(evt.target, 0, 0); return true; }
Does NOT work. Even this does not work:
<style> * { cursor: wait !important } </style>
That changes it everywhere but dragging ;( So using mousedown/mouseup seems to be the only way.