01-10-2013 06:43 AM
I currently have an image list which is currently populated by taking an array of items and adding it to the list through the refresh method.
The image list is set up as follows:
<div data-bb-type="image-list" data-bb-image-effect="fade"
It is empty at the start and populated by the following:
var imgList = element.getElementById("imgList");
where items is the array of items on the list.
Once the list has loaded a user can click on a button to add more elements to the list, however when i call:
var imgListItems = element.getElementById("imgList").getItems();
I am getting a value of 0 which is wrong as the list has about 20 items in it on screen.
I have tried calling the getItems() after imgList.refresh(items); has been called and it still returns a length of 0.
I have just taken the latest version of BBUI as of 10/01/2013.
Is this behaviour expected or is it an issue?
01-12-2013 09:19 AM - edited 01-12-2013 09:19 AM