Closed AndrewDawnbringer closed 5 years ago
ScrollReveal remembers custom options, so these are functionally equivalent:
ScrollReveal().reveal('.yourclass', { delay: 500 });
ScrollReveal().reveal('.yourclass', { origin: 'left' });
ScrollReveal().reveal('.yourclass', {
delay: 500,
origin: 'left'
});
Is that the answer you're looking for @AndrewDawnbringer?
Thank you!
Hello there! How to pass multiple options to the constructor, like
delay
andorigin
at the same time? I want to mergeScrollReveal().reveal('.yourclass', { delay: 500 });
andScrollReveal().reveal('.yourclass', { origin: 'left' });
. Thanks in advance.