Skip to content

jQuery plugin for calculating the visibility of elements in the viewport

License

Notifications You must be signed in to change notification settings

koenpunt/jquery-viewport

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

jQuery viewport plugin

Features

$.fn.inViewport

  • Returns the elements from the selection which are visible in the viewport

$.fn.mostVisible

  • Calculates the first most visible element in the viewport

$.inViewport( element )

  • Returns the element's visibility in the viewport in a range from 0 (not visible) to 1 (completely visible)

About

jQuery plugin for calculating the visibility of elements in the viewport

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published