Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add 'addItems' function to Lemmon-Slider #7
I would like to recommend adding an options to Lemmon-Slider to allow for the addition of items to a lemmon slider after it has been initialized.
Why: Applications are increasingly dynamic, for example with single page web apps. Therefore there is now a use case where pages may change on the client side without a full page refresh.
In the case of Lemmon-Slider, I have a use case where I would like to support asynchronous uploads of new images to a slideshow. In this case, I would like to parse the server response from the upload and append or prepend the new image into the slideshow shown to the user.
@lemmon please let me know what you think of supporting this kind of change to lemmonSlider, or if I need to make changes/improvements in order to get this merged into lemmonSlider's master branch.
Looking forward to discussing these changes with you