Deskripsyon
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
Pag-install
- Enable the plugin
- Some settings are under “Settings – Lenis”
Mga Review
Mga Contributor at Developer
Ang “Smooth scrolling with Lenis” ay open source software. Ang mga sumusunod na tao ay nag-ambag sa plugin na ito.
Mga ContributorIsalin ang “Smooth scrolling with Lenis” sa iyong wika.
Interesado sa development?
Tingnan ang code, i-check ang SVN repository, o mag-subscribe sa development log sa pamamagitan ng RSS.
Changelog
1.4.0
* update lenis to 1.3.11
1.3.0
* update lenis to 1.3.8
* add “Synchronize with GSAP/ScrollTrigger” checkbox to the settings
1.2.0
* update lenis to 1.3.4
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.