From 86a04802ea3f412273945927f3486d6c27d5b47e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=87=E4=BA=95=20=E9=99=B8=E7=99=BB?= Date: Fri, 8 Apr 2022 21:20:34 +0900 Subject: [PATCH] doc: add description of offset option --- docs/index.html | 5 +++++ readme.md | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/docs/index.html b/docs/index.html index e07d899..02aabe3 100644 --- a/docs/index.html +++ b/docs/index.html @@ -277,6 +277,11 @@

Options

false Apply JavaScript to the parent element + + offset + 0 + You can change criteria for scrollable. + i18n.scrollable scrollable diff --git a/readme.md b/readme.md index 9512f4e..bd014cd 100644 --- a/readme.md +++ b/readme.md @@ -114,6 +114,11 @@ new ScrollHint('.js-scrollable'); false Apply JavaScript to the parent element + + offset + 0 + You can change criteria for scrollable. + i18n.scrollable scrollable