You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create lazy loading request or element like image, iframe, video... Make custom animation on lazy and not lazy element on all browser. You can also use our animations included in the lib (Demo). All of that just with html attributes.
You can set a class lazyattr wich be transform in lazyloaded after the element is loaded (work on the pointer and parent)
You can make a beatiful skeleton loader with lazy-skeleton, lazy-skeleton-corner and lazy-skeleton-top class
Skeletons
To set a skeleton loader on an image pls set it on his parent. After you need to put lazy-animation-pointer="#parent" on the image to remove it after load.
Set a skeleton loader on a div with lazy-background will automatically remove it after load.
Attributes
Image, iframe and video
Parameters
Usage
lazy-observe
Just observe the element to do lazy request for example
lazy-reset
Reset the animation on scroll
lazy-srcset
Same as srcset attribute
lazy-src
Image soucre | iframe source | video source
lazy-background
Image source to make a lazy background image
lazy-size-width
Minimum width size
lazy-size-height
Minimum height size
lazy-animation
Animation to lauch after full load of element
lazy-animation-time
Animation duration (time in ms)
lazy-animation-delay
Animation delay (time in ms)
lazy-animation-pointer
Wich element will be animated after the lazy element is load (expl: "#id", ".class", "tag")