How do I trigger a public method? I want to stop and start the plugin.
Hello, I am trying to trigger the slideshow to start and stop the slideshow from my own javascript file. I'm using 2.2.21.
I have the following:
$('[data-session-id]').slideshow_jquery_image_gallery_script('pause');
$('[data-session-id]').slideshow_jquery_image_gallery_script('play');
Not working. I get a function is not defined error.
Comments