Comments (5)
Awesome, thanks for sharing your contribution. Do you think you could make a PR from it, to add your service in the module ?
from angular-smoothscroll.
:) yes, I think I can do that in the next days.
from angular-smoothscroll.
Awesome, happy to review it!
What is your exact use-case to use this feature directly in a controller ?
from angular-smoothscroll.
I use it for a smoth "scroll back to top" (scroll to position 0 not to an element) button and my app scrolls automatically to the element when the corresponding hash of the element-id is setted in the url. In addition, I scroll smoothly back to the element when the page size changes because this can also change the the position of the elements.
from angular-smoothscroll.
I've created a video that shows for what I need it exactly: https://drive.google.com/file/d/0B5r20MKWjT9YN1JXVE1sWDByY0E
I hope I can show you a real usable demo soon.
from angular-smoothscroll.
Related Issues (18)
- Bower install fails HOT 5
- semver tags + bower.json and register with bower HOT 2
- Callback not firing in ie8
- License HOT 3
- bower.json references non-existent path for "main" HOT 3
- Smooth Scroll Directive doesn't seem to work HOT 8
- Set fallback offset to 0 HOT 2
- opens in new tab when href has a value HOT 2
- Unknown provider: anchorSmoothScrollProvider <- anchorSmoothScroll HOT 1
- Upgrade to es5-shim 3.1.1
- jQuery should be supported, but not be a dependency. HOT 3
- Demo no longer up
- Publish Package to npm
- No method warning error HOT 1
- example HOT 4
- Please, make a release! HOT 1
- Installation with Bower installs extraneous packages HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular-smoothscroll.