Skip to content

ClassName and Class inconsistency  #5926

Closed
@mikeybox

Description

@mikeybox

Standard elements and custom elements have a diverging API in the case of the class attribute (and for), they should be consistent to aid developer use. I would suggest that the custom-element naming is the better solution. While class and for are keywords that is obviously mitigated by the fact they're used as object properties

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