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

Using dash for component options in html and camelCase for component options in js can be unclear for new users #133

Open
mthomsonnz opened this issue Jun 18, 2018 · 0 comments

Comments

@mthomsonnz
Copy link

In the programmatic use section it mentions camelCase needs to be used for components made in js:
https://getuikit.com/docs/javascript#programmatic-use

This note can be easy to overlook for new users, who might try to use the option with a dash in it, as these are listed in all the component docs pages.

I'm not sure on the best solution, maybe there is an easy way to make the components use the dash options when initialized with js? If not maybe the docs could be more clear.

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