Results 1 to 2 of 2

Thread: How to add tap event listener to sprite?

  1. #1

    Default How to add tap event listener to sprite?

    I have heard that you could now add tap event listener directly to the created sprite. Is this true and how to add the listener when I have the instance of sprite class?

  2. #2
    Sencha User
    Join Date
    Jun 2013
    Posts
    45
    Answers
    3

    Default

    On initialize of componet get sprile then use addListener method

    Code:
    sprite.addListener('click', function (e, t, eOpts) {
    
    });

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •