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

visible-once / visibleOnce Documentation (Directive Usage) #154

Closed
fabianbeier opened this issue Oct 25, 2023 · 2 comments
Closed

visible-once / visibleOnce Documentation (Directive Usage) #154

fabianbeier opened this issue Oct 25, 2023 · 2 comments

Comments

@fabianbeier
Copy link

I had the problem that the element that i applied :visible-once="… to was not animating (Directive Usage). After reading some Issues here i tried to write :visibleOnce="… and it worked!

In the Docs it only states the kebab-case (visible-once). Is the camel-case the correct Version? If so I think it needs to be updated in the Docs.

@brambekkers
Copy link

Thanks for your comment. My eslint is always complaining about this not being hyphenated. Is there a possibility to make it work with visible-once?

@BobbieGoede
Copy link
Member

The kebab-case usage has been fixed by #141 (but not published in a release yet), I think the pascalCase usage doesn't have to be documented (after fix release) as using kebab-case is in line with html attribute convention (see Vue docs on prop name casing).

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

3 participants