We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 489fda4 commit 93cf795Copy full SHA for 93cf795
src/jquery.lazyloadxt.js
@@ -24,6 +24,7 @@
24
updateEvent: 'load orientationchange resize scroll touchmove', // page-modified events
25
forceEvent: '', // force loading of all elements
26
27
+ //onstart: null,
28
oninit: {removeClass: 'lazy'}, // init handler
29
onshow: {addClass: classLazyHidden}, // start loading handler
30
onload: {removeClass: classLazyHidden, addClass: 'lazy-loaded'}, // load success handler
@@ -279,6 +280,8 @@
279
280
* Initialization
281
*/
282
$(document).ready(function () {
283
+ triggerEvent('start', $window);
284
+
285
$window
286
.on(options.loadEvent, initLazyElements)
287
.on(options.updateEvent, queueCheckLazyElements)
0 commit comments