Results 1 to 3 of 3

Thread: List of all EventListeners

  1. #1
    Sencha User
    Join Date
    Feb 2011
    Posts
    25

    Default List of all EventListeners

    Hi,

    I need a list of all listeners, that are registered. But I also need to know which methods are bind to these events.
    I am registering several events in controllers and I am wondering if there is any HashMap oder something else, that knows, which event refers to what method.

    Thanks in advance,
    Sassy

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506

    Default

    Nothing in the framework that I know of. Here's a similar Touch discussion.
    https://www.sencha.com/forum/showthread.php?247515

  3. #3
    Sencha User
    Join Date
    Feb 2011
    Posts
    25

    Default

    After debbuging a while, I found it out today:

    Code:
    Ext.application({          
        name: 'MyApp',
        launch: function() {
             window.MyAppScope = this;
        }
     });
    
    MyAppScope.eventbus

Similar Threads

  1. Replies: 8
    Last Post: 30 Dec 2015, 7:49 AM
  2. Replies: 2
    Last Post: 12 Feb 2013, 12:10 AM
  3. Replies: 8
    Last Post: 2 Jan 2013, 10:43 AM
  4. Replies: 2
    Last Post: 14 Nov 2012, 3:53 PM
  5. Replies: 2
    Last Post: 1 Sep 2012, 7:37 AM

Posting Permissions

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