阅读背景:

如何向下滚动到ng-repeat的最新条目(AngularJS或Javascript)

来源:互联网 

I have a div with ng-repeat to display posts and an input box to enter new posts. They are sorted such that the latest post is shown at the bottom. Upon adding a new post, I would like to scroll down to see the latest. Is there an angular trick to do this efficiently? Or do I need to use javascript to achieve the desired result?I have a div with ng-repeat to display posts an




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: