From fe05099b45ae3b73b1120ff514369fb713b174f1 Mon Sep 17 00:00:00 2001 From: Rene Haas Date: Mon, 27 Mar 2023 19:27:15 +0200 Subject: [PATCH] improve documentation --- README.md | 2 +- packages/overlayscrollbars/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0819ede..6fe1dd9 100644 --- a/README.md +++ b/README.md @@ -115,7 +115,7 @@ const osInstance = OverlayScrollbars(document.querySelector('#myElement'), {}); If you initialize OverlayScrollbars it needs a few milliseconds to create and append all the elements to the DOM. While this period the native scrollbars are still visible and are switched out after the initialization is finished. This is perceived as flickering. -To fix this behavior apply the `data-overlayscrollbars-initialize` attribute to the target element (or `html` element if the target element is `body`). +To fix this behavior apply the `data-overlayscrollbars-initialize` attribute to the target element (and `html` element if the target element is `body`). ```html diff --git a/packages/overlayscrollbars/README.md b/packages/overlayscrollbars/README.md index 0819ede..6fe1dd9 100644 --- a/packages/overlayscrollbars/README.md +++ b/packages/overlayscrollbars/README.md @@ -115,7 +115,7 @@ const osInstance = OverlayScrollbars(document.querySelector('#myElement'), {}); If you initialize OverlayScrollbars it needs a few milliseconds to create and append all the elements to the DOM. While this period the native scrollbars are still visible and are switched out after the initialization is finished. This is perceived as flickering. -To fix this behavior apply the `data-overlayscrollbars-initialize` attribute to the target element (or `html` element if the target element is `body`). +To fix this behavior apply the `data-overlayscrollbars-initialize` attribute to the target element (and `html` element if the target element is `body`). ```html