before
Version: Pro
before
type: Function
default: function(){ }
Callback function to run before slide transition. If no function is set, no function will run before slide transition. You can access the api methods from inside the callback using the this keyword.
Example:
var myEvoSlider = $("#mySlider").evoSlider({
before: function(){
alert( this.getIndex() );
}
});