Primitives in model lists and Polymer 2.0.0
Pre-release
Pre-release
New features
- Model lists can now use "primitive" types in addition to beans. In particular,
List<String>is now fully supported as the type of model properties. - Polymer 2.0.0 is used in all demos and examples.
Fixes
- No longer setting the
asyncattribute property for HTML imports because of browser compatibility issues List.clear()can be used for model list proxies even if the item type doesn't have a default constructor.- The mechanism for resolving
@Idelements has been improved to work consistently in all browsers.
Breaking changes
@Iddoes no longer work with elements where theidattribute has been set dynamically: theidvalue must be present in the HTML template file.
Demos
- Added a Todo list demo that uses
@Id.