Search e01
One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.
6 results across 6 corpora for HTMLGeolocationElement.
Developer library 6
` ` HTML geolocation element
into providing their location data unwittingly (see [`<geolocation>` blocking](#geolocation_blocking) for more information). The element's DOM API interface, HTMLGeolocationElement, provides features to access returned position data, current permission status, and errors if the data retrieval was unsuccessful, reducing the amount of JavaScript logic that needs to be written. It also has events available to run code
HTMLGeolocationElement
HTML DOM The **`HTMLGeolocationElement`** interface of the [HTML DOM API](/docs/Web/API/HTML_DOM_API) represents the geolocation element, and provides access to its properties and events. This element is based on, and inherits properties and methods from, the HTMLElement interface. > [!NOTE] > The `<geolocation>` element and `HTMLGeolocationElement` interface allow the user to share their location data with the pa
HTMLGeolocationElement: HTMLGeolocationElement() constructor
HTML DOM The **`HTMLGeolocationElement()`** constructor creates a new HTMLGeolocationElement object instance. ## Syntax ```js-nolint new HTMLGeolocationElement() ``` ### Parameters None. ### Return value A new HTMLGeolocationElement object instance, if used internally by the browser. Developers cannot use the `HTMLGeolocationElement()` constructor directly to create a new `HTMLGeolocationElement` instance: at
HTMLGeolocationElement: permissionStatus property
Navigation API The **`permissionStatus`** read-only property of the HTMLGeolocationElement interface returns an enumerated value representing the current permission status for the `geolocation` feature. If you want to access the initial permission status for the `geolocation` feature as it was when the page first loaded, use the initialPermissionStatus property. ## Value An enumerated value, which can be one of:
HTMLGeolocationElement: isValid property
Navigation API The **`isValid`** read-only property of the HTMLGeolocationElement interface returns a boolean value indicating whether the associated geolocation element is valid or invalid (blocked). When a [blocker](/docs/Web/HTML/Reference/Elements/geolocation#geolocation_blocking) is active on a `<geolocation>` element, it is prevented from functioning (invalid), either temporarily or permanently, depending on
HTMLGeolocationElement: initialPermissionStatus property
Navigation API The **`initialPermissionStatus`** read-only property of the HTMLGeolocationElement interface returns an enumerated value representing the permission status for the `geolocation` feature when the page first loads. If you want to access the current permission status for the `geolocation` feature, use the HTMLGeolocationElement.permissionStatus property. ## Value An enumerated value, which can be one