showPrev of ui.carousel, Methods Webix Docs
shows the previous item of the carousel
void showPrev();
Example
webix.ui({
view:"carousel",
container:"box",
id:"carousel1",
cols:[
{ id:"cell1", template:"<img src='spring.jpg'/>" },
{ id:"cell2", template:"<img src='summer.jpg'/>" }
]
});
$$('carousel1').showPrev();
Related samples
See also
If you have not checked yet, be sure to visit site of our main product Webix easy javascript framework and page of slideshow javascript product.