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

Missing Node.parentElement #196

Closed
Atyn opened this issue Jan 25, 2021 · 2 comments
Closed

Missing Node.parentElement #196

Atyn opened this issue Jan 25, 2021 · 2 comments
Assignees

Comments

@Atyn
Copy link
Collaborator

Atyn commented Jan 25, 2021

I guess we could add a alias to parentNode using a getter?

Interface for Node
https://github.com/capricorn86/happy-dom/blob/master/packages/happy-dom/src/nodes/node/Node.ts

Documentation at MDN
https://developer.mozilla.org/en-US/docs/Web/API/Node/parentElement

capricorn86 added a commit that referenced this issue Feb 1, 2021
…e-parent-element

#196@minor: Adds support for Node.parentElement.
@capricorn86 capricorn86 self-assigned this Feb 1, 2021
@capricorn86
Copy link
Owner

Thanks for reporting @Atyn! 🙂

Support for Node.parentElement has now been added.

Read more about the release here:
https://github.com/capricorn86/happy-dom/releases/tag/v2.3.0

@Atyn
Copy link
Collaborator Author

Atyn commented Feb 2, 2021

What a quick fix and fast response! Thank you! 🙂🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants