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

Improve <slot> element support #209

Merged
merged 5 commits into from
Oct 22, 2023
Merged

Conversation

luwes
Copy link
Contributor

@luwes luwes commented Jun 10, 2023

Fixes #131

  • Adds the name property to the slot element
  • Adds assignedNodes() and assignedElements() methods
  • Adds the slot property to the Element class

@WebReflection
Copy link
Owner

I'm OK with this MR but there's no test whatsoever ... it's OK to skip testing repeated, already tested, logic such as utilities, but here we have a whole new functionality and there's gonna be something covering that functionality.

At least that's how every other MR got merged, thanks!

@WebReflection
Copy link
Owner

OK, I am going to merge this but I'll file an issue about adding proper tests to it ... which I just did: #232

@WebReflection WebReflection merged commit 342015a into WebReflection:main Oct 22, 2023
@WebReflection WebReflection mentioned this pull request Oct 22, 2023
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

Successfully merging this pull request may close these issues.

HTMLSlotElement.assignedNodes()
2 participants