Comments (5)
Sorry, It works fine.
I thought that the scroll on an element would act when we get to that element in the page.
I did not think it was on the scroll of that same element and it's not the same as Waypoints
from ngx-scrollspy.
That is a good use case. It should be possible to implement with a directive. Will probably add it when I get the time.
from ngx-scrollspy.
I've implemented a rudimentary Waypoints script using ng2-scrollspy, for anyone who need it: https://gist.github.com/Kamshak/63661e7ea251c92364a2ed1238f04264
from ngx-scrollspy.
@kamshak Cool thank you for mentioning. Would you like to turn it into a plugin to be included in this repo?
from ngx-scrollspy.
The code works in a basic setup but i'm not sure if it will work for nested scroll panels. There are also some features that one could add (a Z offset for detection) and scroll directions.
At the moment i can't adapt it for more cases however feel free to add it as plugin maybe it will be useful for someone. Could act as a starting point
from ngx-scrollspy.
Related Issues (20)
- Please support us small suggestion, how to use scrollspy?! HOT 1
- angular 2 can't solve scrollspy HOT 6
- Does Spy any element scroll can do this ? HOT 9
- Unable to get ScrollSpyInfiniteDirective to work HOT 7
- Spying on an element doesn't resolve. HOT 4
- Replacing Bootstrap JS Scrollspy
- Does not work with angular universal HOT 1
- How to use this plugin with scrollspy bootstrap 4.0 list. HOT 4
- How to make a Scrollbox with Scrollspy
- No Idea how to use this
- ScrollSpyService should accept Observable<any> as well
- Next release for Angular 5 HOT 2
- Parallax does not work HOT 1
- Affix not working on Angular 5 HOT 1
- index.js:27 Uncaught TypeError: core_1.OpaqueToken is not a constructor HOT 1
- ScrollSpyElementDirective import causing error in browser. HOT 1
- cli
- ngx-scrollspy destroys previous url query parameters after anchor tag is clicked HOT 1
- Angular6 ngrx6 rxjs6 compatability issues HOT 9
- Better looking scrollSpy-index-render
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 ngx-scrollspy.