You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have the same problem. It can be fixed with a check to make sure the code only executes on the browser, e.g. if (typeof window !== 'undefined') ....
This has worked for us in many cases.
Could you update ng2-bootstrap pagination to reflect this? Thanks
This line on pagination.component:
this.classMap = this.elementRef.nativeElement.getAttribute('class') || '';
Seems to break Universal with the following error:
TypeError: this.elementRef.nativeElement.getAttribute is not a function
see: https://github.com/angular/universal-starter#universal-gotchas
The text was updated successfully, but these errors were encountered: