The Screen Fold API

This document specifies an API that allows web applications to request the angular value to which a device with a screen hinge is folded. Under the right conditions, and if allowed, the value representing the angle in degrees is returned.

Tyler Deitz
Source: The Screen Fold API