Skip to content

Commit

Permalink
actualize one page scroll information (#255)
Browse files Browse the repository at this point in the history
  • Loading branch information
YuraVolk authored Aug 10, 2024
1 parent c3f98ec commit f4bdac0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
6 changes: 4 additions & 2 deletions lit/src/docs/lit/one-page-scroll/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@ <h1 class="heading">One Page Scroll</h1>
horizontally. Its additional plus is that you do not need to depend on custom animations, specific CSS styles.
The internal formulas automatically adapt to most common scenarios.
<ul>
<li>isHorizontal: A boolean property that determines whether the scrolling should be horizontal (true) or vertical
(false). By default, it is set to false.</li>
<li>
isVertical: A boolean property that determines whether the scrolling should be horizontal or vertical. By default,
it is set to true.
</li>
<li>duration: A number property that specifies the duration of the smooth scrolling animation in milliseconds. The
default value is 500.</li>
<li>increment: A number property that determines the increment value for each step of the smooth scrolling
Expand Down
4 changes: 2 additions & 2 deletions react/src/docs/react/one-page-scroll/Page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ const Page = () => {
</p>
<ul>
<li>
isHorizontal: A boolean property that determines whether the scrolling should be horizontal (true) or vertical (false). By
default, it is set to false.
isVertical: A boolean property that determines whether the scrolling should be horizontal or vertical. By default, it is set to
true.
</li>
<li>
duration: A number property that specifies the duration of the smooth scrolling animation in milliseconds. The default value is
Expand Down
4 changes: 2 additions & 2 deletions vue/src/docs/vue/one-page-scroll/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
</p>
<ul>
<li>
isHorizontal: A boolean property that determines whether the scrolling should be horizontal (true) or vertical (false). By default,
it is set to false.
isVertical: A boolean property that determines whether the scrolling should be horizontal or vertical. By default,
it is set to true.
</li>
<li>
duration: A number property that specifies the duration of the smooth scrolling animation in milliseconds. The default value is 500.
Expand Down

0 comments on commit f4bdac0

Please sign in to comment.