Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 581 Bytes

index.md

File metadata and controls

28 lines (19 loc) · 581 Bytes
title short-title slug page-type browser-compat
Sensor: activated property
activated
Web/API/Sensor/activated
web-api-instance-property
api.Sensor.activated

{{securecontext_header}}{{APIRef("Sensor API")}}

The activated read-only property of the {{domxref("Sensor")}} interface returns a boolean value indicating whether the sensor is active.

Because {{domxref('Sensor')}} is a base class, activated may only be read from one of its derived classes.

Value

A boolean value.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}