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

assign unique ids to components #148

Open
langehm opened this issue Jul 25, 2024 · 0 comments
Open

assign unique ids to components #148

langehm opened this issue Jul 25, 2024 · 0 comments

Comments

@langehm
Copy link
Contributor

langehm commented Jul 25, 2024

          We should introduce a composable to define unique id's automagically to every html element. Ussage like the following:
const idForThisComponent = useUniqueID("muc-radio-button"); // return sth like muc-radio-button-123

vuetify uses similiar approach with some vue methods to generate the unique id's.

Originally posted by @langehm in #101 (comment)

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

When branches are created from issues, their pull requests are automatically linked.

1 participant