geo.addEventListener("promptdismiss", notifyUserRetrySelection);HTMLGeolocationElement: promptdismiss event / notebook
HTMLGeolocationElement: promptdismiss event
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.
function notifyUserRetrySelection() {
statusElem.textContent =
'Please press the "Use location" button again and allow location for this site.';
}