mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-15 22:22:53 +03:00
13 lines
271 B
HTML
13 lines
271 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Detect Touch Test</title>
|
|
<script src='modernizr.js'></script>
|
|
</head>
|
|
<body style="font-size:30vmin">
|
|
<script>
|
|
document.body.textContent = Modernizr.touchevents ? 'YES' : 'NO';
|
|
</script>
|
|
</body>
|
|
</html>
|