WebIDLpedia

Gyroscope interface

Definition

Gyroscope defines Gyroscope

[SecureContext, Exposed=Window]
interface Gyroscope : Sensor {
  constructor(optional GyroscopeSensorOptions sensorOptions = {});
  readonly attribute double? x;
  readonly attribute double? y;
  readonly attribute double? z;
};

Methods and attributes that return objects implementing Gyroscope