count This count is the number of clones of "child" are to be made and inserted into
the DOM.
index This index represents the child index that the insertion should happen at.
Zurückgegebener Wert
None
This method will take a box and clone it a specified number of times. After the
cloning process the new list of boxes are inserted into the DOM under this box at
the given index.
var numRows = 10;
var rows = scene.getBoxById("myRows");
var item = scene.createBox("listItem");
if (rows && item)
{
item.setAttribute("style", "rowContainer");
rows.cloneAndInsert(item, numRows, 0);
}