Model subproperties and scroll position restoration
Pre-release
Pre-release
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
andInfinity
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
- New tutorial on Using Web Components in a Template on the
@Uses
annotation - Small fixes and updates on other tutorials