We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
"@ng-web-apis/common": "^2.1.0", "@ng-web-apis/geolocation": "^2.0.0", "@ng-web-apis/storage": "^1.0.0",
@Component({ selector: 'app-web-api', standalone: true, imports: [CommonModule], template: ` <p> web-api works! </p> <div *ngIf="geolocation$ | async as position"> <span>{{position.coords.latitude}}</span> </div> <div> BUG: Value from storage not working <code *ngIf="value$ | async as store">STORAGE_EVENT: {{ store }}</code> </div> `, styles: [ ] }) export class WebApiComponent { readonly geolocation$ = inject(GeolocationService); readonly value$ = this.event$.pipe(filterByKey('tomaz'), toValue()); constructor( @Inject(STORAGE_EVENT) private readonly event$: Observable<StorageEvent>, @Inject(LOCAL_STORAGE) private readonly storage: Storage, @Inject(StorageService) private readonly storageService: Storage) {} }
The text was updated successfully, but these errors were encountered:
waterplea
No branches or pull requests
🐞 Bug report
Description
Reproduction
Expected behavior
Versions
Additional context
The text was updated successfully, but these errors were encountered: