Basic example
Lazy Loading will automatically initialize after adding
data-twe-lazy-load-init attribute to your img or video element.
It is important to add data-twe-lazy-src attribute - otherwise,
Lazy Load will throw an error.
Scroll down to see an image
Offset
Use data-twe-lazy-offset attribute to define an additional
amount of pixels after which image or video will show.
Scroll more down to load a picture.
Error
Use data-twe-lazy-error to define a picture that will show if
image or video doesn't load.
Animations
Use data-twe-lazy-animation to specify which animation you want
to activate when element loads.
Container
Initialize a set of elements at once by adding
data-twe-lazy-load-init attribute to their container. If you
set data-twe-lazy attributes in the parent, all of
img and video
elements inside will inherit them. You can overwrite them by declaring these
attributes in inner elements.