1.0.8 • Published 6 years ago

scroll-animation-js v1.0.8

Weekly downloads
5
License
MIT
Repository
github
Last release
6 years ago

ScrollAnimation

Scroll animation is a function to navigate within the page

How to use

Adding the script.

<script src="https://cdn.jsdelivr.net/npm/scroll-animation-js/dist/scroll-animation.min.js" ></script>

Or install

npm i --save scroll-animation-js

and using with browserify

Using

scrollAnimation(listElements, delay, addingHeight, scrollContainerElement);

Parameters

listElements : Array of "li" elements with "a" like first children.

delay : The time in milliseconds to navigate to the link.

Optional

addingHeight : Extra height if some element does not allow to see the information.

scrollContainerElement : The element with the scroll, by defect is the document.

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago