Hi,
Is there a reference for the component library??? The dev guide describes the methods/properties for the components "c.about etc" but not for the elements "View, Cell etc"
For example, the RSS reader example uses the following code.
// getting list inside view
var list = View.currentView.findCell("cMainList").list;
list.removeAllItems();
for (var i = 0; i < data.length; i++){
// add new item and get items layout
var aView = list.addItem().view;
aView.data = data<i>
// adding header
aView.findCell("cItemHeader").text.setData(data<i>.title);
aView.findCell("cItemHeader").text.impl.tooltip = data<i>.title
// adding details
aView.findCell("cItemDetails").textLabel.setData(data<i>.description);
aView.findCell("cItemDetails").textLabel.impl.tooltip = data<i>.description
}
It seems that a View has a findCell() method and a data property. Where can i find a reference of the methods/properties of all elements???
Thanks