forked from web-platform-dx/web-features
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathambient-light.yml
More file actions
25 lines (25 loc) · 963 Bytes
/
ambient-light.yml
File metadata and controls
25 lines (25 loc) · 963 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
name: Ambient light sensor
description: The `AmbientLightSensor` interface returns the current light level in lux of the ambient light level around the device.
spec: https://w3c.github.io/ambient-light/
caniuse: ambient-light
group: sensors
compat_features:
- api.AmbientLightSensor
- api.AmbientLightSensor.AmbientLightSensor
- api.AmbientLightSensor.illuminance
- api.Permissions.permission_ambient-light-sensor
- html.elements.iframe.allow.ambient-light-sensor
- http.headers.Permissions-Policy.ambient-light-sensor
# Enable when overlapping keys are allowed, https://github.com/web-platform-dx/web-features/issues/1173
# - api.Sensor
# - api.Sensor.activate_event
# - api.Sensor.activated
# - api.Sensor.error_event
# - api.Sensor.hasReading
# - api.Sensor.reading_event
# - api.Sensor.start
# - api.Sensor.stop
# - api.Sensor.timestamp
# - api.SensorErrorEvent
# - api.SensorErrorEvent.SensorErrorEvent
# - api.SensorErrorEvent.error