Smooth scrolling with Lenis

Beschrijving

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

Installatie

  • Enable the plugin
  • Some settings are under “Settings – Lenis”

Beoordelingen

28 september 2024 2 reacties
The Lenis Smooth Scroll works great. It would be nice to stay up to date to the latest version of Wordpress.
Lees alle 2 beoordelingen

Bijdragers & ontwikkelaars

“Smooth scrolling with Lenis” is open source software. De volgende personen hebben bijgedragen aan deze plugin.

Bijdragers

Vertaal “Smooth scrolling with Lenis” naar jouw taal.

Interesse in ontwikkeling?

Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.

Changelog

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.