function _mouseMoveDragHandler(e) {
        // how far the mouse has been moved
        const dx = e.clientX - _mouseX
        const dy = e.clientY - _mouseY

        // Move the element with the mouse
        _active.style.top = `${_active.offsetTop + dy}px`
        _active.style.left = `${_active.offsetLeft + dx}px`

        // Reassign the position of mouse
        _mouseX = e.clientX
        _mouseY = e.clientY
    }
/**
     * Helper EventListener for mouse move for dragging functionality.
     * Moves the actively selected progress bar.
     * @param {event} e - mousemove event
     */
Helper EventListener for mouse move for dragging functionality.
Moves the actively selected progress bar.
@param {event} e - mousemove event
Helper EventListener for mouse move for dragging functionality . Moves the actively selected progress bar . @param { event } e - mousemove event
function _mouseMoveDragHandler(e) {
        const dx = e.clientX - _mouseX
        const dy = e.clientY - _mouseY
        _active.style.top = `${_active.offsetTop + dy}px`
        _active.style.left = `${_active.offsetLeft + dx}px`
        _mouseX = e.clientX
        _mouseY = e.clientY
    }
function _mouseMoveDragHandler ( e ) { const dx = e . clientX - _mouseX const dy = e . clientY - _mouseY _active . style . top = ` ${ _active . offsetTop + dy } ` _active . style . left = ` ${ _active . offsetLeft + dx } ` _mouseX = e . clientX _mouseY = e . clientY }
Helper EventListener for mouse move for dragging functionality.
Helper EventListener for mouse move for dragging functionality .
// how far the mouse has been moved // Move the element with the mouse // Reassign the position of mouse