UNPKG

@titanium/turbo

Version:

🚀 Turbo is the awesome framework for turbo charging your Titanium cross-platform native mobile app development!

20 lines (19 loc) • 432 B
$.sfb.setHandlers({ success: function(books) { var data = []; _.each(books, function(book) { var row = Alloy.createController('row', { title: book.title, authors: book.authors, image: book.image }).getView(); data.push(row); }); $.table.setData(data); } // You can override error handling with the 'error' property // error: function(e) { // alert('ERROR: ' + e.error); // } }); $.win.open();