Skip to content

What is the replacement for app.renderer.plugins.interaction.on in v7? #9422

Answered by bigtimebuddy
Chaos-Enyo asked this question in Q&A
Discussion options

You must be logged in to vote

If you want to add global event listeners, consider adding event listeners to your root container app.stage.on. We also added the following:

  • globalmousemove
  • globalpointermove
  • globaltouchmove

Events now support bubbling, so you should be able to use the return event.target to get the element you interacted with.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Chaos-Enyo
Comment options

@whitespacecode
Comment options

@bigtimebuddy
Comment options

Answer selected by Chaos-Enyo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants