Skip to content

Commit

Permalink
Added a method to return our Slider controls element.
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonfarrell committed Mar 27, 2013
1 parent 56ef6e4 commit 44cefe3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions jquery.bxslider.js
Original file line number Diff line number Diff line change
Expand Up @@ -1165,6 +1165,13 @@
var pagerIndex = parseInt(slider.active.index) - 1;
el.goToSlide(pagerIndex, 'prev');
}

/**
* Returns our Slider controls element
*/
el.getControlsEl = function() {
return slider.controls.el[0];
}

/**
* Starts the auto show
Expand Down

0 comments on commit 44cefe3

Please sign in to comment.