tweak options for footer observer
This commit is contained in:
parent
8dc9ab6aa8
commit
d2ad0ba20e
|
@ -199,8 +199,8 @@ export class AppComponent implements OnInit, OnDestroy {
|
|||
createObservers() {
|
||||
let options = {
|
||||
root: null,
|
||||
rootMargin: '300px',
|
||||
threshold: 1.0
|
||||
rootMargin: '0px',
|
||||
threshold: 0.1
|
||||
};
|
||||
let intersectionObserver = new IntersectionObserver(entries => {
|
||||
entries.forEach(entry => {
|
||||
|
|
Loading…
Reference in New Issue