Tuesday, December 25, 2012

Using jQuery, Plugins and UI Controls With Backbone | ThoughtStream.new :derick_bailey

Using jQuery, Plugins and UI Controls With Backbone | ThoughtStream.new :derick_bailey: "I’ve also found it to be very useful to have two additional methods that are called on my views: onClose and onRender. I specifically have onClose and onRender. onClose is called by the region manager when closing an existing view. onRender, though, is called by my base “ItemView” or “CollectionView” in Marionette, as I’ve extracted the core rendering in to these two objects but still want to provide a way for specific views to take advantage of DOM-independent plugins and UI controls."

'via Blog this'