You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is now possible as of ScrollReveal v4-beta.9 @toddholmberg
Install via https://unpkg.com/scrollreveal@4.0.0-beta.9 or npm install scrollreveal@beta
Example:
window.sr=ScrollReveal()sr.debug=truesr.reveal('.items',{container: 'not a real selector'})/**ScrollReveal: Reveal failed. - Invalid container.*/
It is an instance property (false by default) that accepts a boolean.
Is it possible to add a debug flag to the configuration options that will show/hide the console.log() calls on the following lines?
Thanks!
The text was updated successfully, but these errors were encountered: