Search e01
One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.
5 results across 6 corpora for HTMLGeolocationElement: isValid property.
Developer library 5
` ` 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: 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: validationstatuschange event
HTML DOM The **`validationstatuschange`** event of the HTMLGeolocationElement interface is fired whenever the geolocation element's isValid value changes. This occurs as a result of a [blocker](/docs/Web/HTML/Reference/Elements/geolocation#geolocation_blocking) being added to or removed from a `<geolocation>` element. ## Syntax Use the event name in addEventListener(): ```js-nolint addEventListener("validationst
HTMLGeolocationElement: invalidReason property
Navigation API The **`invalidReason`** read-only property of the HTMLGeolocationElement interface returns an enumerated value representing the reason why the associated geolocation element is invalid (blocked), if that is the case. When a [blocker](/docs/Web/HTML/Reference/Elements/geolocation#geolocation_blocking) is active on a `<geolocation>` element, it is invalid: This means that it is prevented from functioni