src/index.js
/**
 * Detect if we need to convert touch input to mouse click.
 */
Detect if we need to convert touch input to mouse click.
Detect if we need to convert touch input to mouse click .
function UseMouseClick()
{
    let urlParams = new URLSearchParams(window.location.search);
    let param = urlParams.get('useMouseClick');
    if(param != undefined)
        return param.toLowerCase() == 'true' ? true : false;
    return false;
}
function UseMouseClick ( ) { let urlParams = new URLSearchParams ( window . location . search ) ; let param = urlParams . get ( 'useMouseClick' ) ; if ( param != undefined ) return param . toLowerCase ( ) == 'true' ? true : false ; return false ; }
Detect if we need to convert touch input to mouse click.
Detect if we need to convert touch input to mouse click .