nir9 / itemslide

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

Left/right arrows enhancement - arrows hidden on outboundary #25

Closed AlexVvx closed 9 years ago

AlexVvx commented 9 years ago

Left/right arrows enhancement - arrows inserted in parameters, will be hidden on left or right border.

AlexVvx commented 9 years ago

@nir9 , thx for accepting my previous pr. Can you please review this small enhancement? It will let users to insert left and right arrows to scoll left and right. When scrolling is near the border left or right arrow will be hidden.

nir9 commented 9 years ago

First of all you're behind in the commits so i can't merge. Because i want to keep the main code as simple as possible i would only accept these kind of features as a separate file for example - slideout.js, and the main code will only call a function. For example you can use the events (changePos) to hide arrows when scrolling is near border.

AlexVvx commented 9 years ago

Ok, no problem. I'll try to move it to separate file.