Clean

bound function

Reverses the effects of a reveal() call, removing the styles and event listeners from target element(s).

Signature

function (target)

Target

stringCSS selector, matching 1 or more elements.
nodeSingle DOM node.
nodeListCollection of DOM nodes.
Array<node>Array of of DOM nodes.

Usage

ScrollReveal().clean('.items');