Closed au-z closed 2 years ago
This pull request is automatically built and testable in CodeSandbox.
To see build info of the built libraries, click here or the icon next to each commit SHA.
Latest deployment of this branch, based on commit cd2259dd34db9eb14d7654ee47493a5d847be561:
Sandbox | Source |
---|---|
Hybrids web components playground | Configuration |
Alright, I've added a couple more tests and added to the API docs. Ready for re-review @smalluban. 👍
Nice work, thanks!
Hi @smalluban!
Here's a totally unsolicited (but helpful) feature which you might find complementary to the existing parent/children factories...
For some complex components which reference parent and child elements based on element context, access to the host element is helpful. This can be done without a breaking change and creates some options for advanced component interactions.
For example, to get a parent which exposes a particular property name:
Another use case:
Have a look and let me know what you think. Thanks! 👍