ng2-scroll-to
ng2-scroll-to copied to clipboard
angular 2 library to animate scrolling to anchor links.
Followed the installation steps but got the following: ``` (index):21 Error: (SystemJS) XHR error (404 Not Found) loading http://localhost:3000/ng2-scroll-to Error: XHR error (404 Not Found) loading http://localhost:3000/ng2-scroll-to at XMLHttpRequest.wrapFn [as...
scrollYTarget doe not seem to work, can you give an example of how to implement it?
my target offsettop is always 0 . so i have made this modifications i think it can help ``` function getPosition(element, scrollingElement) { var xPosition = 0; var yPosition =...
I'm copying the files out of node_module folder, I know I'm weird... For that I would much rather have a single file instead of many. Currently I'm not sure which...
localhost/:58 (SystemJS) Cannot read property 'forRoot' of undefined TypeError: Cannot read property 'forRoot' of undefined at eval (http://localhost:5555/app/app.module.js:92:47) at Object.eval (http://localhost:5555/app/app.module.js:174:2) at eval (http://localhost:5555/app/app.module.js:179:4) at eval (http://localhost:5555/app/app.module.js:180:3) at eval ()
Would be good we have a service to cal the methods from a a component. Ex: ``` ScrollToService.to(href ,targetSelector, scrollableElementSelector, scrollYTarget, offset); ```