mercredi 1 octobre 2014

EventManager is now deprecated; what replaces it?



  1. You found a bug! We've classified it as



    EXTJS-15318
    .

    We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.







  2. Default EventManager is now deprecated; what replaces it?



    EventManager is now deprecated; what replaces it?





    The API says Ext.EventManager is deprecated: http://ift.tt/1wZvdCA. So what, if anything, has replaced it?

    I was going to use it to listen to onWindowUnload events. Seems like something that could (should?) be part of Ext.Application. If there's a .launch() method, why not have an .unload() method too?

















  3. Default







    This should work:


    Code:



    Ext.get(window).on('unload', this.onUnload, this);

    But an application-level event and/or template method would be better.













EventManager is now deprecated; what replaces it?

Aucun commentaire:

Enregistrer un commentaire