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
Regarding
ngAfterViewInit() { // TODO: Find solution without timeout setTimeout(() => this.service.emitCookieStatus(), 1) }
Perhaps startWith can help:
startWith
constructor(private readonly service: NgxCookieBannerService) { const firstValue = service.cookieExists(THE_COOKIE_NAME); this.isSeen = this.service.isSeen.pipe( startWith(firstValue), tap(status => { if (!status) { this._removeComponent = false; } if (status) { this._transition = 'bottomOut'; } }) ); }
The text was updated successfully, but these errors were encountered:
Hi @jackwootton, thanks for pointing this out. I just updated the repo to angular 9 and will work on this issue as soon as #5 is merged.
Sorry, something went wrong.
evolkmann
No branches or pull requests
Regarding
Perhaps
startWith
can help:The text was updated successfully, but these errors were encountered: