As it is right now, the only way I can find to access the api (play, stop, next, prev, goto, etc) is by getting it from the data attribute the plugin creates on the original element containing the slides.
sjsApi = $('#slides').data('plugin_slidesjs');
But this data attribute does not yet exist at the time when the loaded callback occurs, so there is no way to access the api from within a callback function.
As it is right now, the only way I can find to access the api (play, stop, next, prev, goto, etc) is by getting it from the data attribute the plugin creates on the original element containing the slides.
sjsApi = $('#slides').data('plugin_slidesjs');
But this data attribute does not yet exist at the time when the loaded callback occurs, so there is no way to access the api from within a callback function.