In order to use this API you first have to download the needed scripts.
There are 3 available:
Script Name | Importance | Type | Purpose |
---|---|---|---|
universalsmoothscroll-min.js
|
required
|
script
|
Contains the API itself. |
universalsmoothscroll-ease-functions-min.js
|
optional
|
module
|
Contains a high level library which allows you to effordlessly customize the timings and the behaviors of your scroll-animations. |
universalsmoothscroll-dev-helpers-min.js
|
optional
|
module
|
Contains a library specifically written to help you with some of the more advanced aspects of this API (useful during testing). |
Each one of the download options below will give you full access to all scripts, so choose freely the download method you prefer.
npm i universalsmoothscroll@latest
All the scripts will be downloaded inside your node_module
folder.
Visit jsDelivr
and click the download button.
The files will be saved as a .tgz archive
: extract them and you're good to go.
In the Releases
section you can find all the API versions and the above mentioned scripts available for download (Assets
below each changelog).