1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-14 06:42:58 +08:00

fix(docs) consider an example to be visible over a wider area

This commit is contained in:
embeddedt 2021-06-18 18:11:53 -04:00 committed by GitHub
parent b5f632ee7a
commit 145a0fad08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -70,7 +70,7 @@ document.addEventListener('DOMContentLoaded', (event) => {
}); });
} }
const config = { const config = {
rootMargin: '50px 0px', rootMargin: '600px 0px',
threshold: 0.01 threshold: 0.01
}; };
let observer = new IntersectionObserver(onIntersection, config); let observer = new IntersectionObserver(onIntersection, config);