-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
framework/element: Add className property handling #35
Labels
bug
Something isn't working
Comments
is this task already taken? wanted to work on it |
@mustbefail sorry, taken. Wanted this and adjacent issues to be closed by tomorrow's AMA |
ok, np |
is there a task that I can join? |
OleksiyRudenko
pushed a commit
that referenced
this issue
May 18, 2021
@mustbefail sorry, not at the moment. Will keep the classroom posted of new tasks if there gonna be any |
Resolved by 13576f7 |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Problem:
createElement
doesn't handle tags'className
attribute.Solution:
If
className
is a string then => split at spaces.Then
element.classList.add(...classNamesList)
The text was updated successfully, but these errors were encountered: