Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Navigation API #1531

Open
suryarajendhran opened this issue Mar 29, 2023 · 3 comments
Open

Add support for Navigation API #1531

suryarajendhran opened this issue Mar 29, 2023 · 3 comments

Comments

@suryarajendhran
Copy link

suryarajendhran commented Mar 29, 2023

Currently the navigation object is not available in the DOM and while the Navigation API is still experimental there is decent support for it in modern versions of browser. It'd be great to have it available as part of the default typescript DOM types.

@HolgerJeromin
Copy link

decent support for it in modern versions of browser

Not, sadly it has not, according to MDN database

https://github.com/microsoft/TypeScript-DOM-lib-generator#why-is-my-fancy-api-still-not-available-here

A feature needs to be supported by two or more major browser engines to be included here, to make sure there is a good consensus among vendors: Gecko (Firefox), Blink (Chrome/Edge), and WebKit (Safari).

https://developer.mozilla.org/en-US/docs/Web/API/Navigation_API#browser_compatibility
Blink only

@rogerpadilla
Copy link

We can reconsider this, it is 75% close now.

image

@mathe42
Copy link
Contributor

mathe42 commented Jun 5, 2024

It is still Blink only.

A feature needs to be supported by two or more major browser engines to be included here, to make sure there is a good consensus among vendors: Gecko (Firefox), Blink (Chrome/Edge), and WebKit (Safari).

https://developer.mozilla.org/en-US/docs/Web/API/Navigation_API#browser_compatibility

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants