Using The API (Pro)
Using The API
The Evo Slider methods are exposed in the instance. You have access to all methods list here by using the instance.
The following example shows how to access an API method:
<script type="text/javascript">
var myEvoSlider = $("#mySlider").evoSlider();
// Retrieves the current index
var current = myEvoSlider.getIndex();
</script>
You can see the list of API methods in the API Methods section of this userguide.