Skip to content

Commit

Permalink
Addition: expose .toJSON() on GeolocationCoordinates + GeolocationPos…
Browse files Browse the repository at this point in the history
…ition (#147)
  • Loading branch information
marcoscaceres committed Apr 15, 2024
1 parent 79cc49a commit 09b48e6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.html
Expand Up @@ -1029,6 +1029,7 @@ <h2>
interface GeolocationPosition {
readonly attribute GeolocationCoordinates coords;
readonly attribute EpochTimeStamp timestamp;
[Default] object toJSON();
};
</pre>
<section>
Expand Down Expand Up @@ -1110,6 +1111,7 @@ <h2>
readonly attribute double? altitudeAccuracy;
readonly attribute double? heading;
readonly attribute double? speed;
[Default] object toJSON();
};
</pre>
<section>
Expand Down

0 comments on commit 09b48e6

Please sign in to comment.