what's the problem?
You can add a template variable and then reference it from your components
class
<div #scrolling></div>
@ViewChild('scrolling') scrolling: ElementRef;
elementRef.nativeElement.scrollTo(...)
On Wednesday, February 3, 2016 at 6:57:52 AM UTC+1, Eric Fulton wrote:
>
> I have a div with overflow-y scrolling. How can I programmatically scroll
> to the bottom?
>
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.