Web Component: j-Sticker
j-Sticker
- jComponent
v19|v20
Configuration:
on
{String}
this class is enabled when thescroll top
position is greater than this elementY
positionoff
{String}
this class is enabled when thescroll top
position is smaller than this elementY
positionmargin
{Number}
a margin which will be deducted from thetop
position 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) orposition
marginparent
{Number}
a margin forparent
scrolling (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