Titanium JIRA Archive
Alloy (ALOY)

[ALOY-430] Collection binding doesn't handle Backbone "reset" event

GitHub Issuen/a
TypeBug
PriorityHigh
StatusResolved
ResolutionFixed
Resolution Date2012-12-18T16:41:59.000+0000
Affected Version/sn/a
Fix Version/sAlloy 0.3.4, 2012 Sprint 26
Componentsn/a
Labelsn/a
ReporterTony Lukasavage
AssigneeUnknown
Created2012-12-18T16:31:19.000+0000
Updated2018-03-07T22:25:47.000+0000

Description

Just need to add "reset" to the list of events that Backbone will respond to and re-render collection-bound UI components with.
COLLECTION_NAME.on('fetch destroy change add remove reset', function(e) { 
    // binding code
});

Comments

No comments

JSON Source