An implementation of the scrollTo tool allowing you to trigger scroll functionality on click using the data-scroll
and data-scroll-offset
attributes.
Note: By accessing the evotoolkit
object in the global scope, you can refire this module on demand in case you programatically add DOM nodes after initial page load.
evotoolkit.utility.clickScroll()