selects the item with the specified index
index | number | the item index (zero-based numbering) |
webix.ui({
view:"carousel",
container:"box",
id:"carousel1",
cols:[
{ id:"cell1", template:"<img src='spring.jpg'/>" },
{ id:"cell2", template:"<img src='summer.jpg'/>" }
]
});
$$('carousel1').setActiveIndex(0);