mirror of
https://github.com/Aroy-Art/Rinkusu.git
synced 2025-04-28 18:17:48 +02:00
Update: lazy-load
This commit is contained in:
parent
067cb315b8
commit
421f5fabbf
2 changed files with 12 additions and 4 deletions
|
@ -6,6 +6,13 @@ $(window).on('load', function () {
|
|||
$('.preloader').fadeOut(100);
|
||||
});
|
||||
|
||||
/* ========================================================================= */
|
||||
/* lazy load initialize
|
||||
/* ========================================================================= */
|
||||
const observer = lozad(); // lazy loads elements with default selector as ".lozad"
|
||||
observer.observe();
|
||||
|
||||
|
||||
/* ========================================================================= */
|
||||
/* Image Preloader
|
||||
/* ========================================================================= */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue