Web Component: j-NoScrollbar
j-NoScrollbar
- jComponent
v19|v20
- this component is something like
j-ViewBox
without native/custom scrollbar
Configuration:
parent
{String} optional, a container with fixed height, can bewindow
. Default value:parent
element.minheight
{Number} a minimal height in pixels (default:0
- disabled)delay
{Number}msec.
resizes the box again if the value is changed according to the path (default:100
)scrollto
{String} scrolls to top/bottom automatically if thepath
is changed (default:EMPTY
, can betop
orbottom
)margin
{Number} optional, a top/bottom margin together (supportsauto
which is counted fromoffset.top
, default:0
)marginxs
{Number} optional, a top/bottom margin together forxs
screen widthmarginsm
optional, a top/bottom margin together forsm
screen widthmarginmd
optional, a top/bottom margin together formd
screen widthmarginlg
optional, a top/bottom margin together forlg
screen widthinvisible
{Boolean} iftrue
then viewbox setsinvisible
class when is rendering (default:true
)initdelay
{Number} removesinivisible
class after specified time (default:250
ms)
Methods:
component.scrolltop(val)
scrolls Ycomponent.scrollbottom(val)
scrolls Y from bottom sidecomponent.resize()
resizes container (it reacts onresize
events automatically)
Author
- Peter Širka petersirka@gmail.com
- License
Created
14. january 2022
Updated
01. february 2023
jComponent library
19 | 20
Version
v1
License
https://www.totaljs.com/license/
Responsive
Yes
Author
Peter Širka
Email
petersirka@gmail.com