Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add for and class aliases for htmlFor and className #10630

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Commits on Sep 17, 2024

  1. Add htmlFor and className aliases

    This adds for as an alias for htmlFor to be
    more consistent and intuitive. This is now possible
    since 'for' is no longer a globally reserved word
    in Javascript.
    It also updates one example to match the new
    'class' alias for 'className' from the DOM spec.
    
    fixes whatwg#9379
    Psychpsyo committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    3ef8c74 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    85ee34b View commit details
    Browse the repository at this point in the history