Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE HTML>
<html>
<body>
<script>
function handler(ev) {}
window.addEventListener("devicemotion", handler);
window.ondeviceorientation = handler;
</script>
</body>
</html>