• austinnnnnnn

    (@austinnnnnnn)


    I see this plugin is based on Cycle2. Is it possible to use the event callbacks as listed in the Cycle2 API?

    I’ve got a slider that is auto-initialized but when I try to attach events whether calling a function like:

    <div class="cycle-slideshow"
    etc.
    data-cycle-after="console.log('test')" 
    etc.
    >

    or in a script in the footer:

    $( '.cycloneslider' ).on('cycle-after',function(e, optionHash, outgoingSlideEl, incomingSlideEl, forwardFlag){
        console.log('test');
    });

    Either way, its not picking up on any events.

  • The topic ‘event callbacks’ is closed to new replies.