Skip to content

ArcaneDigital/sugarcane.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sugarcane

Micro library to turn any element into a sticky nav.

Demo

Sugarcane Demo

Examples

Sugarcane.ready({
    'target': '=aside',
    'floor': '=footer'
});

Documentation

Sugarcane.ready(options)

Options

  • target the element you wish to make sticky
  • floor the element you want the target to stop at

Dependencies

Sugarcane uses $.js, check the documentation to see how to use the selector.

About

Micro library to turn any element sticky

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors