Skip to content

Incorrect property syntax in README.md #197

@MarkJamesHoward

Description

@MarkJamesHoward

In the Declarative Rendering section of README.md it seems to be using lit-html syntax rather than how we use properties in LitElement where we'd need to specify the 'this' keyword?

So rather than:

attribute: html<div class="${color} special"></div>

we should have

attribute: html<div class="${**this**.color} special"></div>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions