Skip to content

v1.5.0

Compare
Choose a tag to compare
@samccone samccone released this 14 Jan 01:06
· 1649 commits to master since this release

View

  • View options can now be a function
  • onDomRefresh is now only called when said view is in the DOM

CollectionView/CompositeView

  • itemViewContainer is now called with the correct context
  • Fix bug where reseting a collection within a collectionView would cause onShow and onDomRefresh to be called incorrectly on the itemViews.
  • addItemView now returns the view that was added
  • You can now specify an itemEvents hash or method which allows you to capture all bubbling itemEvents without having to manually set bindings.
itemEvents: {
  "render": function() {
    console.log("an itemView has been rendered");
  }
}

Region

  • Region close event now passes the view being closed with the event.

General

  • Updated bower ignore folder
  • Added an editor config file