html - Angular 2 anchors with routing -
i'm building angular 4 app , want use anchor-ing in it. it's one-page website, on have 4 containers, listed vertically. so:
--------------- | | | | | | --------------- --------------- | | | | | | --------------- etc...
say 2 of boxes 'about us' , 'location'. @ top of app there navbar , want on click @ <li>
, angular scroll down transition , stop @ proper component (1 of these 4 containers). i'm new angular 4, i'm still studying , i'm asking advice. can achieve anchor effect ng's router, given i'll need attach scroll-down animation it, or should stick ? way better go with? , also, if should router there specific things have know kind of redirection or it's going again {path: 'about', aboutcomponent };
? transition planning do, shall read @angular/animations or going plain typescript?
Comments
Post a Comment