From d2db947fd115f3abf7360a48087e6286bc924b42 Mon Sep 17 00:00:00 2001 From: Antoine Boulanger Date: Fri, 19 Jul 2019 16:37:46 -0400 Subject: [PATCH] Update readme scroll section --- README.md | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index bea4bed..4e1d185 100644 --- a/README.md +++ b/README.md @@ -179,19 +179,18 @@ this.load = new modularLoad({ #### Example ```html -
-
Trigger
-
Parallax
+
+
Trigger
+
Parallax
``` ```js -import ScrollManager from '../scroll/vendors/ScrollManager'; +import locomotiveScroll from 'locomotive-scroll'; -this.scrollManager = new ScrollManager({ - container: $(this.el), - selector: '.js-animate', +this.scroll = new locomotiveScroll({ + el: this.el, smooth: true - }); +}); ```` [Learn more](https://github.com/locomotivemtl/locomotive-scroll)