Add js libs lozad (lazy load images) and list (sort and filter any HTML).
This commit is contained in:
parent
d4deb91f58
commit
a1e7e3f79b
1 changed files with 44 additions and 0 deletions
10
assets/js/lozadinit.js
Normal file
10
assets/js/lozadinit.js
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
(function () {
|
||||
|
||||
'use strict';
|
||||
|
||||
// Lazy load images with lozad.js.
|
||||
const observer = window.lozad(); //
|
||||
observer.observe();
|
||||
|
||||
|
||||
})();
|
||||
Loading…
Reference in a new issue