You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This was suggested at TPAC by @michaelwasserman - basically, developers can use the lower-level API and write few more lines of code to achieve Window Segments Enum API behavior or create a package that acts as a helper JS library to hide / abstract away the complexity.
Some open questions (regarding the library bit only, assuming merging the APIs in one is technically possible):
Will that introduce friction / slow down the API adoption? Can we make a plan validate any hypothesis we have here?
Do we have previous success stories when platform delegates such things to libraries like jQuery or lodash?
Are we introducing something not common for developers using foldable APIs via CSS media queries and making harder to get DOMRects via JavaScript?
The text was updated successfully, but these errors were encountered:
Originally created by @anssiko
Content Updated by @zouhir on October, 26
The High Level Goals:
Some goals we agreed on in the 2nd-screen WG & CG (I believe none is controversial):
Window Segments Enum API
Screen Enum API
To Discuss: Screen Enum + Client-side JS Library = Window Segments Enum API?
This was suggested at TPAC by @michaelwasserman - basically, developers can use the lower-level API and write few more lines of code to achieve Window Segments Enum API behavior or create a package that acts as a helper JS library to hide / abstract away the complexity.
Some open questions (regarding the library bit only, assuming merging the APIs in one is technically possible):
The text was updated successfully, but these errors were encountered: