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
Hi
I want to update the scroll position from top when i show hide a component/div in angular 2.
I tried to this way, which did not worked.
@ViewChild('messagesContainer') messagesContainer: ElementRef; this.messagesContainer.elementRef.nativeElement.scrollTop = 170;
Is there any update for this.
Regards
Kailash
The text was updated successfully, but these errors were encountered:
Both the perfect scrollbar directive and component has scrollTo(position) / scrollToTop(offset) / scrollToBottom(offset) methods.
Sorry, something went wrong.
is it valide in angular 10 ?
No branches or pull requests
Hi
I want to update the scroll position from top when i show hide a component/div in angular 2.
I tried to this way, which did not worked.
@ViewChild('messagesContainer') messagesContainer: ElementRef;
this.messagesContainer.elementRef.nativeElement.scrollTop = 170;
Is there any update for this.
Regards
Kailash
The text was updated successfully, but these errors were encountered: