Update doc for animate

This commit is contained in:
Cagatay Civici 2023-10-26 12:37:23 +03:00
parent 08bd3118ea
commit 51446f2a8b
3 changed files with 3 additions and 38 deletions

View file

@ -43,7 +43,7 @@ const AnimateOnScroll = BaseAnimateOnScroll.extend('animateonscroll', {
entry.isIntersecting ? this.enter() : this.leave();
}
} else if (entry.isIntersecting) {
this.$value.animateOnLoad ? this.enter() : (this.$el.style.opacity = '');
this.enter();
}
this.isObserverActive = true;