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 in vue 2 application with events #196

Closed
gitgkk opened this issue May 9, 2022 · 4 comments
Closed

Using in vue 2 application with events #196

gitgkk opened this issue May 9, 2022 · 4 comments

Comments

@gitgkk
Copy link

gitgkk commented May 9, 2022

Hi,
Glad to see a project with such a large collection of icons.
Does this library support mouse events on icons like onHover, onClick ?
Any examples with vue 2, vuetify?

Thanks,
Kashyap

@userquin
Copy link
Member

userquin commented May 9, 2022

@gitgkk yes, it will generate vue component for each requested icon, but, you will not be able to change the icon on @mouseover

imagen

@kamilic
Copy link

kamilic commented Jun 27, 2022

@gitgkk yes, it will generate vue component for each requested icon, but, you will not be able to change the icon on @mouseover

imagen

It seems that you are using vue3 in this example. I found the same problem, @click will not attach event listener to svg element on vue2 project.

@antfu
Copy link
Member

antfu commented Jun 27, 2022

We temporarily close this due to the lack of enough information.
Please provide a minimal reproduction to reopen the issue.
Thanks.

Why reproduction is required

@antfu antfu closed this as completed Jun 27, 2022
This was referenced Nov 20, 2023
@bmulholland
Copy link

This is still an issue. Filed #329 with a minimal repro.

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

5 participants