WebIDLpedia

GravitySensor interface

Definition

Accelerometer defines GravitySensor



[SecureContext, Exposed=Window]
interface GravitySensor : Accelerometer {
  constructor(optional AccelerometerSensorOptions options = {});
};

Methods and attributes that return objects implementing GravitySensor