Jump to content
This forum will be closing down. Please move to the respective dedicated project forums.

Vue + Pixi v4 events do not work


Saint_S
 Share

Recommended Posts

Hello everyone! :)
I'm new to Pixi. And I am trying to develop a simple blog with Vue and Pixi. On screenshots you can see how I'm trying to set event listeners on sprites. Despite the fact that in console we can see that listeners are actually set, when sprites "clicked" event doesn't fire. Please, can someone point me to an mistake? 

Снимок.PNG

1.PNG

Link to comment
Share on other sites

Sorry for long response.

I'm using Chrome 71, so looks like problem is not with my browser. Can the problem be with propogation? May be event just can't reach my sprite? 
Btw, you can see how app were created with Vue. Can problem be with this?

UPD: oh, nevermind. You was right. Some div just blocked my event. So, problem solved. Thank you! :)

21.PNG

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...