mdn / mdn/data

Need inheritance data for Sensor APIs

Open
#295 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

accepting PR
Dominant language
JavaScript
Stars
787
Forks
216
Avg merge
1d 5h
Merged PRs (30d)
6

Description

The inheritance for these APIs looks like this.

EventTarget
  Sensor
    Accelerometer
      LinearAccelerationSensor
    AmbientLightSensor
    Gyroscope
    Magnetometer
    OrientationSensor
      AbsoluteOrientationSensor
      RelativeOrientationSensor

And

Event
  SensorErrorEvent

And

SensorOptions
  SpatialSensorOptions

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the repository entry point for Web API metadata and inspect how inheritance is represented for comparable interfaces. Use the inheritance trees in the issue as the requested scope, and consider the work complete when the Sensor, SensorErrorEvent, and SensorOptions relationships are represented consistently with the existing data.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
documentation
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.