Results 1 to 2 of 2

Thread: is there a way to query an object for its supported events?

  1. #1
    Sencha User
    Join Date
    Nov 2010
    Posts
    445
    Vote Rating
    7
      0  

    Default is there a way to query an object for its supported events?

    e.g:
    var myComp, //say its an instance of continer
    myComp.getEventNames();//returns ['painted','activate',...]
    thanks.

  2. #2
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,026
    Vote Rating
    1367
      0  

    Default

    There isn't a solid way to no. The events aren't added to the component in any way, they are just fired.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

Posting Permissions

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