- From: M. Pont <notifications@github.com>
- Date: Sun, 02 Apr 2023 13:07:30 -0700
- To: w3c/screen-orientation <screen-orientation@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Sunday, 2 April 2023 20:07:43 UTC
Could there be an error in Example 1? `getOppositeOrientation()` uses the line `screen.orientation.startsWith("portrait")` as if screen.orientation returns a string, when it actually returns an object with the type (so the command worked for me if i wrote `screen.orientation.type.startsWith("portrait")`. I would appreciate guidance on this matter if I'm wrong. -- Reply to this email directly or view it on GitHub: https://github.com/w3c/screen-orientation/issues/245 You are receiving this because you are subscribed to this thread. Message ID: <w3c/screen-orientation/issues/245@github.com>
Received on Sunday, 2 April 2023 20:07:43 UTC