Sunday, 22 October 2017

angular auto scroll

1, you will need to timeout, if you are going to scroll to a dynamically creating element (ng-repeat) in the same function.
2, you will need to all $anchorScroll("aaa"); without hash(),. otherwise your url will be changed.

3. you will need to create an anchor.

No comments:

Post a comment