showPrev of ui.carousel, Methods Webix Docs

StartAPI Referenceui.carouselMethods

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

  • API

  • Articles

  • Back to top

    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.