title: How can I disable previous/next in OwlCarousel2 if there aren't enough items to scroll?
body: <p>Is there a way to disable the previous and next links if there aren’t enough items to scroll?</p>
  
  <p>For example: <a href="http://truewest.nextmp.net/special-programs" rel="nofollow">http://truewest.nextmp.net/special-programs</a> these galleries allow for 4 items (desktop), there are only 4 items in this gallery but the buttons to pagination still appear, but should be disabled.</p>
  
  <p>I know there was a way to do it in the previous version, but the .disabled class doesn’t load into the links on this one?  I don’t see it doing so in any of the demos either...</p>
  
  <p>Could I use some additional jquery to override this, or is there anything built-in I that I'm missing?</p>
  
  <p>Here is my code:</p>
  
  <pre><code>        $(".owl-carousel").owlCarousel({
              items: 4,
              loop: true,
              rewindNav: false,
              autoplayHoverPause: true,
              margin: 0,
              dots: false,
              navText: "&lt;&gt;",
              responsive:{
                  0:{ // breakpoint from 0 up - small smartphones
                      items:1,
                      nav:true
                  },
                  480:{  // breakpoint from 480 up - smartphones // landscape
                      items:2,
                      nav:false
                  },
                  768:{ // breakpoint from 768 up - tablets
                      items:3,
                      nav:true,
                      loop:false
                  },
                  992:{ // breakpoint from 992 up - desktop
                      items:4,
                      nav:true,
                      loop:false
                  }
              }
  
          });
  </code></pre>