ladybird/Libraries/LibWeb/Geolocation/GeolocationCoordinates.idl

13 lines
450 B
Text
Raw Normal View History

2025-06-19 15:28:02 +02:00
// https://w3c.github.io/geolocation/#coordinates_interface
[Exposed=Window, SecureContext]
interface GeolocationCoordinates {
readonly attribute double accuracy;
readonly attribute double latitude;
readonly attribute double longitude;
readonly attribute double? altitude;
readonly attribute double? altitudeAccuracy;
readonly attribute double? heading;
readonly attribute double? speed;
[Default] object toJSON();
};