log demo
This commit is contained in:
parent
9fd7cbac7b
commit
c8b6f04ef4
|
|
@ -68,6 +68,7 @@ rotation: from.x"
|
|||
const ropes = Array.from(document.querySelectorAll('folk-event-propagator'));
|
||||
|
||||
function onDeviceOrientation(e) {
|
||||
console.log(event.alpha, event.beta, event.gamma)
|
||||
window.alpha.textContent = event.alpha;
|
||||
window.beta.textContent = event.beta;
|
||||
window.gamma.textContent = event.gamma;
|
||||
|
|
|
|||
Loading…
Reference in New Issue