• Home
  • Documentations
    • Phlox WordPress Theme
    • Phlox Pro WordPress Theme
    • Master Slider jQuery
    • Master Slider WordPress Pro
    • Master Slider WordPress Free
    • LOTUS WordPress Theme
  • Video Tutorials
    • Phlox ? Video Tutorials
    • Master Slider WP Pro
    • Master Slider WP Free
    • Master Slider jQuery
    • Lotus ? Video Tutorials
  • FAQ
    • General Questions
    • LOTUS WordPress Theme
    • Master Slider jQuery
    • Master Slider WordPress
    • CUTE Slider
  • Knowledge base
    • Beginners
    • Advanced Techniques
    • WordPress plugins
  • Support Forum
    • Login Or Register
    • Support Forum
    • Support Policy
Averta Support Center
  • Home
  • Documentations
    • Phlox WordPress Theme
    • Phlox Pro WordPress Theme
    • Master Slider jQuery
    • Master Slider WordPress Pro
    • Master Slider WordPress Free
    • LOTUS WordPress Theme
  • Video Tutorials
    • Phlox ? Video Tutorials
    • Master Slider WP Pro
    • Master Slider WP Free
    • Master Slider jQuery
    • Lotus ? Video Tutorials
  • FAQ
    • General Questions
    • LOTUS WordPress Theme
    • Master Slider jQuery
    • Master Slider WordPress
    • CUTE Slider
  • Knowledge base
    • Beginners
    • Advanced Techniques
    • WordPress plugins
  • Support Forum
    • Login Or Register
    • Support Forum
    • Support Policy

Looking for the answer

  • Home
  • Customizing Blog Page Options
  • API
  • Getting to Know Events

Getting to Know Events


Beside the slider actions, you can also add custom events to the slider. In this article you can find the list of all supported events.

    slider.addEventListener(MSSliderEvent.INIT , function(){
      // dispatches when the slider's current slide change starts.
    });
      
    slider.addEventListener(MSSliderEvent.CHANGE_START , function(){
        // dispatches when the slider's current slide change starts.
    });
      
    slider.addEventListener(MSSliderEvent.CHANGE_END , function(){
        // dispatches when the slider's current slide change ends.
    });
      
    slider.addEventListener(MSSliderEvent.WAITING , function(){
        // dispatches whenever the slider timer updates.
    });
      
    slider.addEventListener(MSSliderEvent.RESIZE , function(){
        // dispatches when the slider is resized.
    });
      
    slider.addEventListener(MSSliderEvent.VIDEO_PLAY , function(){
        // dispatches when the slide video played.
    });
      
    slider.addEventListener(MSSliderEvent.VIDEO_CLOSE , function(){
        // dispatches when the slide video closed.
    });
      
    slider.view.addEventListener(MSViewEvents.SWIPE_START , function(){
        // dispatches when swipe dragging starts.
    });
      
    slider.view.addEventListener(MSViewEvents.SWIPE_END , function(){
        // dispatches when swipe dragging ends.
    });
      
    slider.view.addEventListener(MSViewEvents.SWIPE_MOVE , function(){
        // dispatches when swipe dragging moves.
    });
      
    slider.view.addEventListener(MSViewEvents.SWIPE_CANCEL , function(){
        // dispatches when swipe dragging cancels.
    });

Was this information helpful?

Submit
Previuos Step
Related articles list
Create New Support Ticket

Maybe You're Searching For These

Phlox Accordion
Introducing Phlox
Enabling Wheel Navigation
Changing Slider Skin
Phlox Divider
Phlox Quote
Using Sample Sliders
Phlox Search
Copyright © 2017 Averta. All rights reserved.