@ng-web-apis/geolocation
Advanced tools
Comparing version 4.0.1 to 4.1.0
{ | ||
"name": "@ng-web-apis/geolocation", | ||
"version": "4.0.1", | ||
"version": "4.1.0", | ||
"description": "This is a library for declarative use of Geolocation API with Angular", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -72,7 +72,5 @@ # ![ng-web-apis logo](https://raw.githubusercontent.com/taiga-family/ng-web-apis/main/libs/geolocation/logo.svg) Geolocation API for Angular | ||
```ts | ||
export class YourComponent { | ||
constructor( | ||
@Inject(GEOLOCATION_SUPPORT) private readonly geolocationSupport: boolean | ||
) {} | ||
... | ||
export class Example { | ||
constructor(@Inject(GEOLOCATION_SUPPORT) private readonly geolocationSupport: boolean) {} | ||
} | ||
``` | ||
@@ -79,0 +77,0 @@ |
38688
111