Documentation

showPrev

shows the previous item of the carousel

void showPrev();

See also

  • api
  • samples
  • articles
  • 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();

    Back to top