rsAfterInit Event

william's Avatar

william

22 Aug, 2012 09:35 PM

Hi,

When does the rsAfterInit event fire?

In the case of an initial static image and the remaining being lazy loaded, is it fired after the first image is loaded and ready to be displayed?

If not, would it be possible to add this as an event.

Thanks, William.

  1. Support Staff 1 Posted by Dmitry Semenov on 23 Aug, 2012 05:34 AM

    Dmitry Semenov's Avatar

    Hi,

    Event is fired when events are added and properties are parsed. Here is more info: http://help.dimsemenov.com/discussions/problems/20-i-dont-get-the-r...

    If you wish to check when images are loaded and added:

    sliderInstance.ev.on('rsAfterContentSet', function(e, slideObject) {
        // fires when every time when slide content is loaded and added to DOM
    });
    

    Dmitry

  2. 2 Posted by william on 23 Aug, 2012 11:27 PM

    william's Avatar

    Thanks Dmitry.

  3. william closed this discussion on 23 Aug, 2012 11:35 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac