Title: event callbacks
Last modified: October 28, 2016

---

# event callbacks

 *  [austinnnnnnn](https://wordpress.org/support/users/austinnnnnnn/)
 * (@austinnnnnnn)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/event-callbacks/)
 * I see this plugin is based on Cycle2. Is it possible to use the event callbacks
   as listed in the [Cycle2 API](http://jquery.malsup.com/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.
    -  This topic was modified 9 years, 7 months ago by [austinnnnnnn](https://wordpress.org/support/users/austinnnnnnn/).
    -  This topic was modified 9 years, 7 months ago by [austinnnnnnn](https://wordpress.org/support/users/austinnnnnnn/).
    -  This topic was modified 9 years, 7 months ago by [austinnnnnnn](https://wordpress.org/support/users/austinnnnnnn/).

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

 * ![](https://s.w.org/plugins/geopattern-icon/cyclone-slider-2_c67877.svg)
 * [Cyclone Slider](https://wordpress.org/plugins/cyclone-slider-2/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cyclone-slider-2/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cyclone-slider-2/)
 * [Active Topics](https://wordpress.org/support/plugin/cyclone-slider-2/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cyclone-slider-2/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cyclone-slider-2/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [austinnnnnnn](https://wordpress.org/support/users/austinnnnnnn/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/event-callbacks/)
 * Status: not resolved