Destroy

bound function

Reverses the effects of all reveal() calls, removing all generated styles and event listeners, and clears the ScrollReveal store.

Signature

function ()

Usage

Let's say you've got a few reveals on your page.

ScrollReveal().reveal('.squares');
ScrollReveal().reveal('.triangles');
ScrollReveal().reveal('.circles');

Most use cases won't call for it, but if you need to remove all effects, you can always press the big red button...

ScrollReveal().destroy();