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

Animation? #40

Open
gbdematos opened this issue Mar 16, 2019 · 6 comments
Open

Animation? #40

gbdematos opened this issue Mar 16, 2019 · 6 comments

Comments

@gbdematos
Copy link

Hi,

Is there a possibility to add animation/transition effects?

Thanks!

@Scrum
Copy link

Scrum commented Jun 3, 2019

@gbdematos managed to find a solution?

@gbdematos
Copy link
Author

@Scrum unfortunately no, I switched to tippy.js

@Scrum
Copy link

Scrum commented Jun 3, 2019

@gbdematos Thank you, great lib !!!

@hekigan
Copy link
Owner

hekigan commented Jun 28, 2019

With the new version out, I am thinking of adding example in the documentation soon.
It's already possible just using CSS and the class property of v-tooltip.

Just write a fade animation or whatever you want and just add the class option.

@gadelkareem
Copy link

With the new version out, I am thinking of adding example in the documentation soon.
It's already possible just using CSS and the class property of v-tooltip.

Just write a fade animation or whatever you want and just add the class option.

I saw the fadein class in the code but not sure how to use it?

@hekigan
Copy link
Owner

hekigan commented Jun 28, 2019

@gadelkareem Well, it's not part of the examples, but of the documentation. :)
You can see it working on the top of the page (header) of the documentation site.

The exact line to see it's implementation which use the CSS you talked about:

<span class="one-liner">a <span class="tooltip" v-tooltip.top.notrigger="{ content: 'v-tooltip', visible: true, class: 'fade-in' }">tooltip</span> for Vue.js</span>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants