Understanding whats getting loaded in the variable ?
Posted: Mon Nov 24, 2014 11:22 pm
https://github.com/luis-almeida/unveil/ ... .unveil.js
on this line : (Line 44)
whats basically happening is "inview" executes the following function :
and than if true return
trigger("unveil") is executed .
but what exactly is the variable loaded holding ?????
on this line : (Line 44)
Code: Select all
loaded = inview.trigger("unveil");Code: Select all
images.filter(function() {
var $e = $(this);
if ($e.is(":hidden")) return;
var wt = $w.scrollTop(),
wb = wt + $w.height(),
et = $e.offset().top,
eb = et + $e.height();
return eb >= wt - th && et <= wb + th;
});trigger("unveil") is executed .
but what exactly is the variable loaded holding ?????