Skip to content

Commit

Permalink
doc: add description of offset option
Browse files Browse the repository at this point in the history
  • Loading branch information
uidev1116 committed Apr 8, 2022
1 parent f988168 commit 86a0480
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,11 @@ <h2 id="options">Options</h2>
<td>false</td>
<td>Apply JavaScript to the parent element</td>
</tr>
<tr>
<td><code>offset</code></td>
<td>0</td>
<td>You can change criteria for scrollable.</td>
</tr>
<tr>
<td><code>i18n.scrollable</code></td>
<td>scrollable</td>
Expand Down
5 changes: 5 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,11 @@ new ScrollHint('.js-scrollable');
<td>false</td>
<td>Apply JavaScript to the parent element</td>
</tr>
<tr>
<td><code>offset</code></td>
<td>0</td>
<td>You can change criteria for scrollable.</td>
</tr>
<tr>
<td><code>i18n.scrollable</code></td>
<td>scrollable</td>
Expand Down

0 comments on commit 86a0480

Please sign in to comment.