nir9 / itemslide

JavaScript Touch Carousel Library with Zero Dependencies
https://itemslide.org
MIT License
647 stars 85 forks source link

change names for "next()" & "previous()" #55

Closed artemsky closed 4 years ago

artemsky commented 8 years ago

change names for "next()" & "previous()" due "next()" has conflict with "jquery.next()"

do somthing like nextSlide() prevSlide()

nir9 commented 8 years ago

sure next update

bobmagicii commented 4 years ago

i am guessing this never happened.

$.fn.next=function(){this.gotoSlide(this.data("vars")

trying to traverse my dom >_> noooope

nir9 commented 4 years ago

Solved, use the "remove_deprecated_external_functions" option to remove deprecated functions, and use the new nextSlide and previousSlide functions.