summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/interfaces/ambient-light.idl
blob: 6d9c8e03eaa8182da19b8e3f96e8d0894d1a6389 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// GENERATED CONTENT - DO NOT EDIT
// Content was automatically extracted by Reffy into webref
// (https://github.com/w3c/webref)
// Source: Ambient Light Sensor (https://w3c.github.io/ambient-light/)

[SecureContext, Exposed=Window]
interface AmbientLightSensor : Sensor {
  constructor(optional SensorOptions sensorOptions = {});
  readonly attribute double? illuminance;
};

dictionary AmbientLightReadingValues {
  required double? illuminance;
};