How to use deviceorientation window event

13 views
Skip to first unread message

in...@euronetix.com

unread,
Dec 14, 2017, 10:23:43 AM12/14/17
to Google Web Designer beta
I'm trying to use simple javascript for mobile device orientation.
How to use "deviceorientation" window object event in adwords banner envirovment?
I still getting error on Adwords banner: Uncaught TypeError: Cannot read property 'style' of undefined

this example is not working:
https://developers.google.com/web/fundamentals/native-hardware/device-orientation/

thank you

Screen Shot 2017-12-14 at 12.44.32.png
Reply all
Reply to author
Forward
0 new messages