Are there typings included with the npm install? I am having pathing issues on the import of the directive.
Thanks On Friday, May 20, 2016 at 2:33:44 PM UTC-6, Benny Bottema wrote: > > I recently published ng2-simple-page-scroll > <https://github.com/bbottema/ng2-simple-page-scroll>, a simple anchor > jumping directive that works with routing and within routed views: > > <a simplePageScroll href="#myanchor">Go there</a> > > Or right after routing: > > <a simplePageScroll [routerLink]="['Home']" href="#myanchor">Go there</a> > > It does a simple instant jump, but it works. It's compatible with Angular2 > rc1. > > On Thursday, 11 February 2016 10:00:04 UTC+1, Jeetendra Kumawat wrote: >> >> Hi All, >> >> I am learning Angular2 since a month. I have used angular2 router in my >> application and am using hash Location Strategy for Navigation in Angular >> app which is best suitable for my need. >> >> Actually, I want to have anchor tag with href="*#someDivID*" for >> sub-navigation inside one page but each time it clicked angular2 Error pops >> up and ask for route which is not there. >> >> I have found that in Angular1.0 there is *$anchorScroll *which works >> fine after setting Location.Hash. >> >> Do we have any equivalent in Angular2 for $*anchorScroll*? >> >> Please help!! >> >> >> > -- 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.
