Home › Forums › JavaScript › how can i access these classes › Reply To: how can i access these classes
December 15, 2016 at 12:38 am
#249047
Shikkediel
Participant
As you may notice by the way, the classes aren’t even really needed…
I also put the each
loops before the imagesLoaded
. They are synchronous so the plugins won’t ever be initiated before the data-src
are attached. The imagesLoaded
might otherwise fire before that has happened because up to that point only a single image is loaded for all the links that were created. There won’t be much loading time to expect.