chromium/third_party/blink/renderer/modules/device_posture/device_posture.idl

// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

enum DevicePostureType {
  "continuous",
  "folded",
};

[Exposed=Window, RuntimeEnabled=DevicePosture, SecureContext]
interface DevicePosture : EventTarget {
    readonly attribute DevicePostureType type;
    attribute EventHandler onchange;
};