Skip to content

js function for scroll animating by using beizer curve

Notifications You must be signed in to change notification settings

r11n/scroll-beizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Read Me

feel free to suggest by pull requests

function import

Use function.js if you wish to use the scoll animation as function. Don't forget to pass the element(HTMLElement) that you want to scroll animate.

//can be any HTMLElement
var ele = document.getElementById('container');
// be sure to include target scroll and element
scrollTo( ele, 500);

prototype import

Use prototype.js if you wish to use the scroll animation as prototype function to HTMLElement.

//can be any HTMLElement
var ele = document.getElementById('container');
ele.ScrollTo(500);

About

js function for scroll animating by using beizer curve

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published