/** * Lazyload init js * * @author LiteSpeed * @since 1.4 * */ (function (window, document) { 'use strict'; var instance; var update_lazyload; var litespeed_finish_callback = function () { document.body.classList.add('litespeed_lazyloaded'); }; var init = function () { console.log('[LiteSpeed] Start Lazy Load Images'); instance = new LazyLoad({ elements_selector: '[data-lazyloaded]', callback_finish: litespeed_finish_callback }); update_lazyload = function () { instance.update(); }; if (window.MutationObserver) { new MutationObserver(update_lazyload).observe(document.documentElement, { childList: true, subtree: true, attributes: true }); } }; window.addEventListener ? window.addEventListener('load', init, false) : window.attachEvent('onload', init); })(window, document);
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
babel.min.js | File | 772.69 KB | 0644 |
|
component.cdn.js | File | 6.34 KB | 0644 |
|
component.crawler.js | File | 2.93 KB | 0644 |
|
css_async.js | File | 1.45 KB | 0644 |
|
css_async.min.js | File | 1.32 KB | 0644 |
|
guest.docref.js | File | 247 B | 0644 |
|
guest.docref.min.js | File | 215 B | 0644 |
|
guest.js | File | 740 B | 0644 |
|
guest.min.js | File | 373 B | 0644 |
|
instant_click.min.js | File | 2.89 KB | 0644 |
|
instant_click.ori.js | File | 16.31 KB | 0644 |
|
iziModal.min.js | File | 25.65 KB | 0644 |
|
js_delay.js | File | 2.67 KB | 0644 |
|
js_delay.min.js | File | 1.65 KB | 0644 |
|
lazyload.init.js | File | 823 B | 0644 |
|
lazyload.lib.js | File | 24.89 KB | 0644 |
|
lazyload.min.js | File | 8.12 KB | 0644 |
|
litespeed-cache-admin.js | File | 16.44 KB | 0644 |
|
react.min.js | File | 128.93 KB | 0644 |
|
webfontloader.js | File | 12.21 KB | 0644 |
|
webfontloader.min.js | File | 11.81 KB | 0644 |
|