tweak options for footer observer
This commit is contained in:
parent
b992ade762
commit
395a6d6c78
|
@ -142,8 +142,8 @@ export class AppComponent {
|
|||
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