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

feat(fast-element): enable children and slotted filters #3323

Merged

Conversation

EisenbergEffect
Copy link
Contributor

Description

This PR adds a long requested feature to slotted and children directives to be able to supply a filter for what nodes you want pushed into your property. For convenience, an elements() filter was added to enable easy filtering of only elements or elements with a particular tag name.

As part of this work, unit tests were added for both slotted and children and a couple of bugs in both typings and functionality were discovered as a result.

Issue type checklist

  • Chore: A change that does not impact distributed packages.
  • Bug fix: A change that fixes an issue, link to the issue above.
  • New feature: A change that adds functionality.

This is not a breaking change.

Process & policy checklist

  • I have added tests for my changes.
  • I have tested my changes.
  • I have updated the project documentation to reflect my changes.
  • I have read the CONTRIBUTING documentation and followed the standards for this project.

The documentation update will come as part of my upcoming documentation PR, which is currently in draft form. I'll add it there in order to avoid some conflicts.

@EisenbergEffect EisenbergEffect mentioned this pull request Jun 17, 2020
35 tasks
@EisenbergEffect EisenbergEffect merged commit 224df54 into master Jun 17, 2020
@EisenbergEffect EisenbergEffect deleted the users/eisenbergeffect/slot-children-filter-test branch June 17, 2020 01:48
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.

3 participants