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

Would it be possible to add an attribute to automatically set first element #3

Open
agubler opened this issue Dec 20, 2019 · 0 comments

Comments

@agubler
Copy link

agubler commented Dec 20, 2019

It would be useful if we could declaratively set the first node as focused automatically. Something like:

<focus-trap focus-first="true" ></focus-trap>

This would only be actioned when the element is initially created. Is this something that would be possible?

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

1 participant