-
-
Notifications
You must be signed in to change notification settings - Fork 211
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
Implement childNodes
and children
as getters
#960
Labels
enhancement
New feature or request
Comments
edoardocavazza
added a commit
to edoardocavazza/happy-dom
that referenced
this issue
Jul 2, 2023
capricorn86
added a commit
to edoardocavazza/happy-dom
that referenced
this issue
Aug 22, 2023
capricorn86
added a commit
to edoardocavazza/happy-dom
that referenced
this issue
Aug 22, 2023
capricorn86
added a commit
to edoardocavazza/happy-dom
that referenced
this issue
Aug 22, 2023
…hild() and ElementUtility.insertBefore().
capricorn86
added a commit
to edoardocavazza/happy-dom
that referenced
this issue
Aug 22, 2023
…d childNodes are getters.
capricorn86
added a commit
that referenced
this issue
Aug 22, 2023
#960@minor: Implement childNodes and children as getters.
Your fix has been released @edoardocavazza 🙂 You can read more about the release here: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
I am working to a DOM library that is using the
childNodes
prototype descriptor, but in the happy-dom environment it is missing since it is implemented as class field.Describe the solution you'd like
Espose
childNodes
andchildren
as getters, transforming read/write class fields to_childNodes
and_children
.Describe alternatives you've considered
I don't know.
Additional context
I am going to open a PR with an implementation proposal.
The text was updated successfully, but these errors were encountered: