Skip to content

Add class as an alias for className#1311

Open
Psychpsyo wants to merge 1 commit into
whatwg:mainfrom
Psychpsyo:classNameToClass
Open

Add class as an alias for className#1311
Psychpsyo wants to merge 1 commit into
whatwg:mainfrom
Psychpsyo:classNameToClass

Conversation

@Psychpsyo

@Psychpsyo Psychpsyo commented Sep 17, 2024

Copy link
Copy Markdown

This adds class as an alias for className to be
more consistent and intuitive. This is now possible since 'class' is no longer a globally reserved word in Javascript.

fixes #1310

(still working on the below checklist)

(See WHATWG Working Mode: Changes for more details.)


Preview | Diff

This adds class as an alias for className to be
more consistent and intuitive. This is now possible
since 'class' is no longer a globally reserved word
in Javascript.

fixes whatwg#1310
@Psychpsyo
Psychpsyo marked this pull request as draft September 17, 2024 10:51
@Psychpsyo
Psychpsyo marked this pull request as ready for review September 17, 2024 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Add class as an alias for className

1 participant