Skip to content

peterudo/iscroll-stickyheaders

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 

Repository files navigation

iScroll sticky headers

Plugin for iScroll that adds support for sticky headers.

Example and usage

Working demo: http://rudolfrck.github.com/iscroll-stickyheaders/

Usage:

var scroll = new IScroll('#scroll-element', { probeType: 3 });
scroll.enableStickyHeaders('h1');

Info

This plugin only supports sticky headers when using transform (CSS translate) in iScroll. It also only supports vertical scrolling. I'll look into adding support for horizontal scrolling if anyone needs it.

About

iScroll plugin that adds support for sticky headers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published