webscreens / screen-enumeration

Screen enumeration API explainer
Apache License 2.0
23 stars 4 forks source link

touch support can already be feature detected #14

Closed markafoltz closed 4 years ago

markafoltz commented 4 years ago

If the use case is determining whether to add touch event handlers to your application, there are existing feature detection techniques that can help.

If the use case is a web application that wants to know which screen to place a window that requires touch, screen.touchSupport could be useful?

michaelwasserman commented 4 years ago

Thanks for the link! Yes, both techniques have good use cases:

I'll add this better use case to the explainer.

michaelwasserman commented 4 years ago

I believe the updated explainer addresses the desire to select screens by their properties, including touch support. Please let me know if the proposal's language could better explicitly describe that goal.