Threaded View

  1. #1
    Ext JS Premium Member
    Join Date
    Oct 2010
    Posts
    103
    Vote Rating
    6
    abierbaum is on a distinguished road

      0  

    Default Answered: What is equivalent of ST1 Observable.capture method?

    Answered: What is equivalent of ST1 Observable.capture method?


    What is the equivalent in ST2 of the ST1 Ext.util.Observable.capture call? I made use of this method quite a bit in debugging to see all events coming off an object and the timing of the calls. If possible I would like to continue using it.

  2. There isn't one built in. All the capture function did was create an interceptor to the fireEvent function. So what you could do is override Ext.mixin.Obervable hook into the fireEvent and fireAction methods:

    Code:
    Ext.define('Override.mixin.Observable', {
        override : 'Ext.mixin.Observable',
    
        fireEvent : function(eventName) {
            console.log(eventName);
    
            this.callOverridden(arguments);
        },
    
        fireAction : function(eventName) {
            console.log(eventName);
    
            this.callOverridden(arguments);
        }
    });

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi