Web Component: j-Sticker
j-Sticker
- jComponent
v19|v20
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
Author
- Peter Širka petersirka@gmail.com
- License
Created
13. may 2016
Updated
31. january 2023
jComponent library
19 | 20
Version
v1
License
https://www.totaljs.com/license/
Responsive
Yes
Author
Peter Širka
Email
petersirka@gmail.com

