Hi all, quick question. I'm trying to build my first preloader, but when it finishes I want it to stay on screen, so I can interact with it later on, when the page is loader.
I took the polylion example and edited it with a new svg. I would like the preloader to start normally and finish when 100% of images are loaded. I have a working animation on my codepen but I don't know where to add the imagesLoaded code which would be something like this:
$('#content').imagesLoaded()
.always( function( instance ) {
//
})
.done( function( instance ) {
//
})
.fail( function() {
//
})
.progress( function( instance, image ) {
//
});
How shall I proceed?