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

Click event listener does not work on blur hash component #12

Open
mateuswetah opened this issue Feb 25, 2021 · 0 comments
Open

Click event listener does not work on blur hash component #12

mateuswetah opened this issue Feb 25, 2021 · 0 comments

Comments

@mateuswetah
Copy link

Hi again!

It seems that using click events do not work on the component... I tried this:

<blur-hash-image
     @click="myEvent()"
     width="400"
     height="300"
     hash="LdHfL}oJR$WBKnfi%3ofT0kCM{ay"
     src="https://images.unsplash.com/photo-1545910684-8e7c081be9b0?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1867&q=80"
     alt="green lawn grass during daytime" />

And for some reason the event is never fired. Would it be necessary to pass attached events to the generated tag somehow?

@mateuswetah mateuswetah changed the title Click event listener does not works on blur hash component Click event listener does not work on blur hash component Feb 26, 2021
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