Jump to content

Correctly Using Remove inside state


jjwallace
 Share

Recommended Posts

My guess is you have a scoping issue with this.  You should be able to bind this to the function you're calling when you add the event listener.  Something like:

myButton.onClick.add(clickButton, this);

If that doesn't work, you'll need to post more code so we can see better what the problem might be.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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