Closed RafaelC457ro closed 6 years ago
This would be easily done. I'll take a look at that today in a few hours, make sure that everything is working, and press a new release. Expect it done by the end of today.
Otherwise, if you wanted to do so yourself, you could add something like (this code SHOULD work AFAIK):
goTo(i) {
if (i > this.max || i < this.min) {
return 'Error'; // Or some other kind of error
} else {
this.index = i;
this.setLeft();
}
}
I just added some similar functions: leftBy(i)
and rightBy(i)
. You might be able to guess what they do, but I updated the documentation (README) just in case
Bug Report or Feature Request (mark with an
x
)Desired functionality
A good function could be
goTo()
, to slide to index given. I need this for create a minimap of images, and when user click make possible change image on slide. expect to be:I can help if you let me. Thanks.