Skip to content

Outdated documentation of dom-repeat #5077

@floribon

Description

@floribon

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions