Skip to content

Attributes with a hyphen do not reflect to LitElement property #29

Closed

Description

<a-thing with-property="Foo"></a-thing> with a property withProperty within class AThing extends LitElement does not reflect in the withProperty property.

Expected:
withProperty has value "Foo"

Actual:
withProperty is null

Glitch: Code, Demo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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