From e4528176638ea569ef34a1f3b00f053d0d9ee69b Mon Sep 17 00:00:00 2001 From: Rene Date: Sat, 3 Aug 2019 12:06:54 +0200 Subject: [PATCH] README update --- README.md | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/README.md b/README.md index e375fa0..248e2ca 100644 --- a/README.md +++ b/README.md @@ -517,17 +517,12 @@ instance.sleep();
 //get scroll information
 var scrollInfo = instance.scroll();
-
 //scroll 50px on both axis
 instance.scroll(50);
-
 //add 10px to the scroll offset of each axis
 instance.scroll({ x : "+=10", y : "+=10" });
-
 //scroll to 50% on both axis with a duration of 1000ms
 instance.scroll({ x : "50%", y : "50%" }, 1000);
-
-
 //scroll to the passed element with a duration of 1000ms
 instance.scroll($(selector), 1000);
@@ -618,7 +613,6 @@ var extensionInstance = instance.addExt("myExtension");
 //add the registered extension "myExtension" to the plugin instance
 instance.addExt("myExtension");
-
 //remove the added extension "myExtension" from the plugin instance
 instance.removeExt("myExtension");
@@ -691,16 +685,12 @@ var extensionObjects = OverlayScrollbars.extension();
 //create OverlayScrollbars instance
 var osInstance = OverlayScrollbars(document.body, { });
-
 //returns true
 OverlayScrollbars.valid(osInstance);
-
 //destroy the instance
 osInstance.destroy();
-
 //returns false
 OverlayScrollbars.valid(osInstance);
-
 //returns false
 OverlayScrollbars.valid({ });