Web Component: j-LazyContent
j-LazyContent
This component shows own content when it's visible. It supports helpful features as redraw
and hide
.
Configuration:
height:NUMBER_IN_PIXELS"
optional, a default content height. Default value: is height of the current elementinit:method_or_variable"
is executed when the element first time visible is (optional)redraw:method_or_variable"
is executed when the element again visible is (optional)hide:method_or_variable"
is executed when the element hidden is (optional)
Notes:
init
will be executed only one timeredraw
andhide
will be executed more times- if the attributes contains link to
variable
(not methods) then as value is storedBoolean
value. - important: scroll area must be
document.body
element
Author
- Peter Širka petersirka@gmail.com
- License
Created
02. may 2016
Updated
31. january 2023
Version
v1
License
https://www.totaljs.com/license/
Responsive
Yes
Author
Peter Širka
Email
petersirka@gmail.com