Without a DOM (nx.js on the Nintendo Switch, for example), a global
TouchEvent also counts: such a runtime has no ontouchstart property to
detect, but dispatches touch events on the display canvas. Browsers, which
all have a DOM, are detected exactly as before.
True if the browser supports Touch Events.
Without a DOM (nx.js on the Nintendo Switch, for example), a global
TouchEventalso counts: such a runtime has noontouchstartproperty to detect, but dispatches touch events on the display canvas. Browsers, which all have a DOM, are detected exactly as before.