[go: up one dir, main page]

Skip to content

rafaelverger/sos.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SOS.js

Stick elements on page's scroll

// to search for all elements with "data-fos" attribute
SOS.discoverAll()

// to bind to an specific element
SOS.stickOnScroll(document.querySelector('#elmt'));