标签: javascript devicemotion
我试图这样使用“ devicemotion”:function fun(){ alert("Work!"); } window.addEventListener('devicemotion', fun); 我做错了什么?
function fun(){ alert("Work!"); } window.addEventListener('devicemotion', fun);