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

Provide a more specific alternative to [data-name] #464

Open
stefanfisk opened this issue Dec 28, 2022 · 0 comments
Open

Provide a more specific alternative to [data-name] #464

stefanfisk opened this issue Dec 28, 2022 · 0 comments

Comments

@stefanfisk
Copy link

The problem

[data-name] is super generic, and is fairly likely to clash with other third party libraries. When implementing Klaro, I had to refactor some internal code that was using that attribute.

Proposed solution

I'd prefer the attribute name to be configurable. Then it could default to [data-name] for backwards compatibility while still allowing customization.

Alternative solutions

Adding support for both [data-name] and [data-klaro-name]?

Additional context

None that I can think of.

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