Skip to content

webscreens/window-segments

Repository files navigation

Window Segments Enumeration API

Status: This explainer has been deprecated in favor of the Segments Property Explainer under the Visual Viewport API spec.


This repository proposes a JavaScript API that will help web developers effectively lay content out in a browser window that spans multiple displays or across the fold on foldable devices by providing the geometry of the available display regions.

The EXPLAINER.md file highlights the motivation and the proposed API's syntax. Please take a look and if you have any feedback, thoughts or comments we'd love to hear them and opening an issue on this repo is a great start.

Related explainers:

Name Link
Screen Fold API Explainer, Unofficial Draft Spec
Multi-Screen Window Placement API Explainer, Draft Community Group Report
Visual Viewport API Draft Community Group Report, MDN

About

Window Segments Enumeration API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published