twin_screen_web library

The web implementation of TwinScreenPlatform.

Reads the fold from the Viewport Segments API (window.viewport.segments) and the posture from the Device Posture API (navigator.devicePosture). Both are feature-detected; browsers without them report an ordinary window.

Classes

TwinScreenWeb
Web implementation of TwinScreenPlatform.