-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Description
Description
The documentation for dom-repeat is using Polymer 1.x syntax. This documentation is present as a JSDoc in the source file and being displayed at webcomponents.org. Happy to create a PR but as this touches public doc the team is probably better placed to review.
Live Demo
https://www.webcomponents.org/element/polymer/polymer/v2.4.0/elements/dom-repeat (or any 2.x.x version)
Expected Results
Usage of <dom-repeat>
and Polymer 2 syntax to create a new component with class EmployeeList extends Polymer.Element
Actual Results
Currently displaying <template is="dom-repeat">
and Polymer 1 syntax to create a new component using Polymer({is: 'employee-list'})
Versions
- Polymer: v2.x
Note that dom-if would benefit of a similar documentation (missing example)