-
Notifications
You must be signed in to change notification settings - Fork 783
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(component): allow delegatesFocus on the component decorator #1190
Conversation
I like this, but wonder if we should instead have the options object passed in, rather than making a new option to the component decorator. |
Agreed with Adam, i think it should be an object, probably allowing the
|
@MrAntix would you be able to make the changes so |
hows that look? |
Looking great. One thing is that in most cases, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added some comments, I think the runtime should provide the default value, let's not make the metadata bigger for the common case.
make delegatesFocus available ```@Component({ ... shadow?: boolean | ShadowDomOptions })```
all done, do you need the commits squashed? |
@MrAntix don't worry about it! we can squash them before merge @adamdbradley, @jthoms1 the PR looks good to me! |
please merge and publish 🙏 |
This is not really an edge case, anything that is slotting in content into shareable components will need delegatesFocus |
Could this be released? I won't have capacity to upgrade to v1 as the breaking changes are too big and my project is going live with 0.18.x |
Any news ;) any help needed ? |
This would be nice to have |
Closing in favor of ad94fd2 |
Thanks |
ref: #1008