Skip to content

v0.7.1

Choose a tag to compare

@kentmw kentmw released this 25 Apr 15:57
· 281 commits to master since this release
  • Merge pull request #322 from kentmw/master (10138ed)
  • Added toJSON to view (00d421e)
  • #321, #316, #295, and also removed deprecated code, allowed list views to specify their modelName, fixed carat stealing in template renderer, and added stickit options generation (841751d)

New Updates:

  • Views now have a toJSON method view.toJSON() returns the contents of the view state
  • Deprecated arguments and methods that referenced "child" views in Form View were removed (childView, childContext, childrenContainer, getChildViewFromModel)
  • modelName and modelId are settable on the ListView itself instead of having to be passed in as arguments
  • Behaviors now automatically stopListening and off on dispose
  • Template renderer doesn't steal caret selections if a view renders outside the active element
  • Form views will attempt to generate select options based on the form model
  • You can cancel a render during prerender by returning false which will trigger a render:abort on the view
  • New triggers will fire during the view's lifecycle: before-dom-detach, before-dom-attach, and render:abort