j-NoScrollbar
- this component is something like
j-ViewBoxwithout native/custom scrollbar
Configuration:
parent{String} optional, a container with fixed height, can bewindow. Default value:parentelement.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 thepathis changed (default:EMPTY, can betoporbottom)margin{Number} optional, a top/bottom margin together (supportsautowhich is counted fromoffset.top, default:0)marginxs{Number} optional, a top/bottom margin together forxsscreen widthmarginsmoptional, a top/bottom margin together forsmscreen widthmarginmdoptional, a top/bottom margin together formdscreen widthmarginlgoptional, a top/bottom margin together forlgscreen widthinvisible{Boolean} iftruethen viewbox setsinvisibleclass when is rendering (default:true)initdelay{Number} removesinivisibleclass after specified time (default:250ms)
Methods:
component.scrolltop(val)scrolls Ycomponent.scrollbottom(val)scrolls Y from bottom sidecomponent.resize()resizes container (it reacts onresizeevents automatically)
Use it with <ui-component name="noscrollbar">. When the component is not loaded yet, jComponent downloads it on first use from the address in DEF.fallback (the Componentator CDN by default). Author: Peter Širka. Source: the Componentator components repository, MIT license.
<div style="width:300px;height:300px;background-color:#F5F5F5">
<ui-component name="noscrollbar" config="parent:parent" class="invisible">
BEGIN
<div style="height:1000px;background-color:red"></div>
END
</ui-component>
</div>