-
Notifications
You must be signed in to change notification settings - Fork 66
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
Set container in directive #4
Comments
Pull requests are welcome : ) |
+1 Anyone have solution ? Also im not sure but there is this container but in JS is nowhere used :P |
Tomorrow I start my vacation, then I'll jump into this issue : ) |
I added a directive "lazyImgContainer" which when added to some element as attribute will trigger on scroll "checkImages" the same way as window (or container if set in provider) |
Nice, i will test it tomorrow and provide some info :D |
How is it working exactly ? I have div with style like and added directive lazy-img-container: overflow-y:scroll and in there ng-repeat with div where inside are images, but its not working |
Doesn't work for me either. Tried passing I think this should be reopened :) |
Bower registry has an old version of this module: #8
or
will work for now. |
Yes, sorry guys I forgot about publishing tag. Now it should be working. |
If I have an image in a second page your code doesn't work because locates for 'window' or 'container' in the main page.
... in config code...
scrollable = document.querySelector('#scrollable')
container: angular.element(scrollable)
The text was updated successfully, but these errors were encountered: