Sticker
Keeps an element stuck at the top while scrolling by toggling CSS classes at scroll positions, per screen size
Configuration:
on {String}this class is enabled when thescroll topposition is greater than this elementYpositionoff {String}this class is enabled when thescroll topposition is smaller than this elementYpositionmargin {Number}a margin which will be deducted from thetopposition of the current elementxs {Boolean}enables sticker for extra small display (default:false)sm {Boolean}enables sticker for small display (default:true)md {Boolean}enables sticker for medium display (default:true)lg {Boolean}enables sticker for large display (default:true)type {String}a method name for obtaining of positionoffset(default) orpositionmarginparent {Number}a margin forparentscrolling (default:0)parent {String}optional, a parent selector (look to example for understanding)- NEW:
minheight {Number}a minimal height of scroll area for applying of classes




