wandoledzep/bxslider-4 — pull request #358 by tochoromero (2013-10-21 18:35:29+00:00)
Title: Add property to specify when to hide the next control

We already have a property to hide the next control when we reach the last slide this is "hideControlOnEnd". The problem is that it will slide until only the last slide is visible. if I set the "minSlides" property it will get me close but not right there, on this case when the last slide is visible I can still click next once, and the next slide is still enabled.

I added a property "slidesBeforeEndToHideNext" the default value is "1" so if you don't initialize it the behavior will be the same we have right now, but if you initialize it the "Next" button will be disabled when the last number of slides specified are visible.