Description
Adds the Lenis library (by darkroom.engineering) to your WordPress page. Simply enable the plugin and it will add the library to your page.
You can use a function โsmoothScrollLenisCallback(event)โ in your custom code that will be called by the Lenis scroll event.
Note: if you have popup with scrolling content you’ll need to this attribute data-lenis-prevent
to the popup.
Credits:
– Lenis library: https://github.com/darkroomengineering
Installation
- Enable the plugin
- Some settings are under โSettings – Lenisโ
Reviews
Contributors & Developers
“Smooth scrolling with Lenis” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Smooth scrolling with Lenis” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.1.0
* update lenis to 1.1.20
1.0.4
* two new properties: lerp and duration
1.0.3
* custom scroll function โsmoothScrollLenisCallback(event)โ that will be called if available.
1.0.2
* update Lenis to 1.1.13
1.0.1
* prevent JS error when Lenis is not loaded
* load default Lenis CSS
* update Lenis to 1.1.4
1.0.0
* Initial release.