Skip to content

[idea] Expose and API for syncing attributes and properties #823

@calebdwilliams

Description

@calebdwilliams

There should be a built-in mechanism for keeping custom element attributes and properties in sync. This is currently only possible using getters/setters and potentially problematic logic in the attributeChangedCallback. Doing this would remove the amount of necessary boilerplate code and potentially clear up some of the confusion in the wild about the differences between attributes and properties on HTML elements.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions