-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to get ScrollSpyInfiniteDirective to work #171
Comments
You have to pass the spyId you want to subscribe to.
|
I tried that but I get this error: "Error: Template parse errors:↵Can't bind to 'scrollSpyInfinite' since it isn't a known property of 'div'" Do I need to specify the spyId, shouldnt it just use the defaults of spyId |
try these imports:
|
I am seeing this error: |
What browser are you testing on? Sorry this directive is experimental, it needs a bit more testing. |
using chrome |
Oh that is odd because I tested in chrome at the time as well. I will have a look into it tomorrow. 5am now got to do some sleeping. |
I cant seem to get ScrollSpyInfiniteDirective to work. I have added ScrollSpyInfiniteDirective to declarations in my module and ScrollSpyModule.forRoot() to my module imports. I added scrollSpy to my top level div and in my component i have imported ScrollSpyInfiniteDirective and set up my template as follows:
<div class="app-body" scrollSpyInfinite (scrollSpyInfiniteEvent)="scrollDown()">
But i do not see scrollDown() being called on scrolling all the way to the bottom. Is it possible to get some documentation on how to use it?
Thanks
The text was updated successfully, but these errors were encountered: