Search results
A free, fast, and reliable CDN for locomotive-scroll. Detection of elements in viewport & smooth scrolling with parallax effects.
import LocomotiveScroll from 'locomotive-scroll'; const scroll = new LocomotiveScroll({ el: document.querySelector('[data-scroll-container]'), smooth: true }); Note: scroll-sections are optional but recommended to improve performance, particularly in long pages.
Detection of elements in viewport & smooth scrolling with parallax effects.. Latest version: 4.1.4, last published: 3 years ago. Start using locomotive-scroll in your project by running `npm i locomotive-scroll`. There are 20 other projects in the npm registry using locomotive-scroll.
A simple scroll library used by developers at Locomotive. Built as a layer on top of ayamflow's virtual-scroll, it provides smooth scrolling with support for parallax effects, toggling classes, and triggering event listeners when elements are in the viewport.
Loco (native) Scroll. Detection of elements in viewport & smooth native scrolling. The great locomotive-scroll without Smooth Class, merged with Lenis by Studio Freight to optimize the scrolling experience and keep native scrolling. I decided to merge the best of (for me) 2 great librairies for scrolling experiences.
Add the base styles to your CSS file. [`locomotive-scroll.css`](https://github.com/locomotivemtl/locomotive-scroll/blob/master/dist/locomotive-scroll.css) #### JS. ##### With a bundler. ```js. import LocomotiveScroll from 'locomotive-scroll'; const scroll = new LocomotiveScroll(); ```. ##### Or without.
1 CDN to use with LOCOMOTIVE-SCROLL. Find out the best CDN to use with locomotive-scroll or use multiple CDN as fallback. Simply copy and paste one of these URL !.
Dec 16, 2020 · Locomotive scroll is a simple scroll library, built as a layer on top of ayamflow’s virtual-scroll, it provides smooth scrolling with support for parallax effects, toggling classes, and triggering event listeners when elements are in the viewport.
Mar 30, 2024 · We can use locomotive scroll using cdn and npm. In this blog we will be using cdn. First Step. We will get the cdn of the Locomotive Scroll.
A free, fast, and reliable CDN for react-locomotive-scroll. A locomotive-scroll React wrapper.