Comments (5)
partial
is legacy configuration option. From times when this library wasn't based on IntersectionObserver. It's used to specify how visible
property is set. When partial is set to false
whole element must be visible.
But I agree with you @julmot that better documentation is needed. But I also have plans to do whole rewrite this library to be more generic with plugins system implemented. To have plugins for well known features like lazyloading, viewport rendering etc. Only time is limiting factor and lack of help from users community.
from ng-in-viewport.
I hope I'm not missing something but as it seems there's no documentation of inViewportOptions
. Would be great to add it in this regard too (e.g. what is partial
?).
from ng-in-viewport.
I created issue for that #352
from ng-in-viewport.
@all-contributors please add @basters for code
from ng-in-viewport.
I've put up a pull request to add @basters! 🎉
from ng-in-viewport.
Related Issues (20)
- Please provide IVY version HOT 4
- Error when several instances with different root configurations HOT 8
- Library is blocked when CSP header 'unsafe-eval' is not specified HOT 6
- Is this repository a joke? HOT 1
- inViewportAction seems to run outside of NgZone HOT 6
- Bug: isn't working with scroll-snap-type: x mandatory HOT 3
- InViewportDirective should emit when the host element is destroyed HOT 6
- Support for Angular 17 HOT 3
- How to debounce the event? HOT 1
- Angular 18 RC-1 not working HOT 2
- Add tsdoc comments
- Downlevel generated .d.ts files to support angular versions >= v5 HOT 3
- Property 'options' is private HOT 4
- Upgrade angular from 10.1.3 to 10.1.4
- Threshold not working as expected or i miss-understood the conf. HOT 1
- Fix `jest` setup
- Trigger event after it's 100% in the viewport for time `t` HOT 2
- core.js:6456 ERROR Error: inject() must be called from an injection context HOT 1
- Preventing initial onIntersection method call 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 ng-in-viewport.