Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a template setter to ElementMixin.
Currently, to assign a template to a Polymer element, you need to override the setter, or call Object.defineProperty. This also allows users to simply assign the template onto their constructor. This is especially useful for TypeScript, which compiles "static template = foo" to "MyClass.template = foo".
- Loading branch information