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:
initwill be executed only one timeredrawandhidewill be executed more times- if the attributes contains link to
variable(not methods) then as value is storedBooleanvalue. - important: scroll area must be
document.bodyelement
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

