TypeScript-DOM-lib-generator icon indicating copy to clipboard operation
TypeScript-DOM-lib-generator copied to clipboard

Add support for Navigation API

Open suryarajendhran opened this issue 2 years ago • 5 comments

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.

suryarajendhran avatar Mar 29 '23 11:03 suryarajendhran

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

HolgerJeromin avatar Mar 29 '23 13:03 HolgerJeromin