[ Web Proxy ]
URL:
Viewing: https://developer.mozilla.org/ja/docs/Web/API/HTMLGeolocationElement/isValid [Back]  [Original]

HTMLGeolocationElement: isValid - Web API | MDN

MDN Web Docs

View in English Always switch to English

HTMLGeolocationElement: isValid

Want more browser support for this feature? Tell us why.

isValid HTMLGeolocationElement <geolocation>

<geolocation>

HTMLGeolocationElement.invalidReason

  • true <geolocation>
  • false <geolocation>

false

html
<geolocation></geolocation>
js
const geo = document.querySelector("geolocation");
console.log(geo.isValid);
// true`<geolocation>` 

isValid HTMLGeolocationElement.invalidReason

The HTML Geolocation Element
# dom-activationblockersmixin-isvalid


Web Proxy Viewer  |  New URL  |  Original Page