Skip to content

Model subproperties and scroll position restoration

Pre-release
Pre-release
Compare
Choose a tag to compare
@pleku pleku released this 15 Jul 10:18

New features

  • Restore body scroll position when navigating back to a previously opened view
  • Support Template Model subproperties in JavaScript expressions
    • <span>{{greeting ? greeting.text : "No greeting available"}}</span>
  • @Uses annotation for importing HTML, JavaScript and StyleSheet dependencies from other component classes. See tutorial for demo

Fixes

  • Fix <body> location in prerender HTML
  • Add more info on exception messages for TemplateModel propertyType
  • Explicitly disallow NaN and Infinity in the model instead of just silently producing the wrong result
  • Add a missing tutorial link for Creating a Component Container

Demos

Fixed address book table position to be fixed.

Tutorials

All changes

https://github.com/vaadin/hummingbird/milestone/17?closed=1