mirror of
https://git.topisto.net/tibo/template.git
synced 2026-03-31 21:39:10 +00:00
20250602
This commit is contained in:
@@ -4,10 +4,10 @@ const handleSynthesisIntersection = function (entries) {
|
||||
// Check if the element is intersecting the viewport
|
||||
if (entry.isIntersecting) {
|
||||
msgConsole('IntersectionObserver',"The synthesis is visible in the viewport");
|
||||
if (typeof synthesisTopIsNowVisible === 'function') synthesisIsNowVisible(entry);
|
||||
if (typeof synthesisIsNowVisible === 'function') synthesisIsNowVisible(entry);
|
||||
} else {
|
||||
msgConsole('IntersectionObserver',"The synthesis is invisible in the viewport");
|
||||
if (typeof synthesisTopIsNowInvisible === 'function') synthesisIsNowInvisible(entry);
|
||||
if (typeof synthesisIsNowInvisible === 'function') synthesisIsNowInvisible(entry);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user