Smooth scrolling with Lenis

Descripción

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.

Credits:
– Lenis library: https://github.com/darkroomengineering

Instalación

  • Enable the plugin
  • Some settings are under «Settings – Lenis»

Reseñas

11 de enero de 2025 5 replies
Seems to work in all browsers! very nice!But I would prefer a stronger smooth scroll effect. But the plugin has no settings for that.
28 de septiembre de 2024 2 replies
The Lenis Smooth Scroll works great. It would be nice to stay up to date to the latest version of Wordpress.
Leer todas las 3 reseñas

Colaboradores y desarrolladores

«Smooth scrolling with Lenis» es un software de código abierto. Las siguientes personas han colaborado con este plugin.

Colaboradores

Traduce «Smooth scrolling with Lenis» a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios

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.