Ability to trigger some other function WHEN RS has completed a slide transition

alanb's Avatar

alanb

20 Dec, 2012 05:10 PM

Hi,

I've looked but failed to find a way to run some other jQ function but only when a slide transition has completed. In pseudo code, is there a way to do this:

$('myslider').royalSlider({
.
RS-settings
.
whenRSslideAnimationComplete {
    runSomeOtherjQfn();
}
});

Cheers, -Alan

  1. Support Staff 1 Posted by Dmytro Semenov on 20 Dec, 2012 08:24 PM

    Dmytro Semenov's Avatar

    Hi,

    http://dimsemenov.com/plugins/royal-slider/documentation/#api

    $('.royalSlider').data('royalSlider').ev.on('rsAfterSlideChange', function() {
    
    });
    
  2. 2 Posted by alanb on 20 Dec, 2012 08:38 PM

    alanb's Avatar

    Hi Dmitry,

    Thanks, sorry I missed that, I assumed API was something other people did (one day I'll really understand what API encompasses).

    Cheers, -Alan

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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