Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Heroes tutorial toh-pt2 mentions a let statement, but uses # in the template #1648

Closed
@sturmf

Description

@sturmf

In the tutorial it mentions this:

The let keyword before "hero" identifies the hero as a template input variable. We can reference this variable within the template to access a hero’s properties.

but uses this in the code example:

<li *ngFor="#hero of heroes">

so I guess #variable equals let variable ?? I think this should be mentioned or only use the let syntax in the 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