- From: Marcos Cáceres <notifications@github.com>
- Date: Sun, 09 Oct 2022 22:11:09 -0700
- To: w3c/screen-orientation <screen-orientation@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 10 October 2022 05:11:21 UTC
So yeah, I think at a minimum, we might need a `supportsLocking` boolean or something, because locking to "any" is still a kind of locking. The use case being, if you are building a UI that has rotate buttons, it doesn't make sense to enable them or show them if you can't rotate the screen. Alternatively (I'm not sure this is better): we could tell user agents to not expose the `.lock()` on platforms they are sure don't support locking at all (e.g., most desktops). -- Reply to this email directly or view it on GitHub: https://github.com/w3c/screen-orientation/issues/206#issuecomment-1272793888 You are receiving this because you are subscribed to this thread. Message ID: <w3c/screen-orientation/issues/206/1272793888@github.com>
Received on Monday, 10 October 2022 05:11:21 UTC