counts the items that can be seen with the current view height
number | the number of visible items |
var count = $$("mylist").getVisibleCount();
The method will not work for list with variable item height.
webix.ui({
view:"mylist",
type:{ height:"auto" }
});
var count = $$("mylist").getVisibleCount(); //NaN