Threaded View

  1. #1
    Sencha User
    Join Date
    Dec 2011
    Posts
    18
    Answers
    1
    Vote Rating
    0
    jiancha is on a distinguished road

      0  

    Default Answered: Issue: Parameters in Event function

    Answered: Issue: Parameters in Event function


    Hello,

    I am new to Sencha Touch, I can't figure out which params and in which order should be used in Event function: e.g.

    Code:
    onDoubleTap: function(event, html, obj)
    Code:
    onDragend: function(draggable, event)
    It seems param event is not always the first param.
    where can I check params for each event or where defines how to add params

    Thanks a lot !
    best regards !

  2. If you are listening to an event on an Ext.Element instance, the params are always:

    Code:
    tap: function(e, node, options) {
    
    }
    If you are listening to an event on a component, we try to keep a consistent signature. In most cases, the component is the first argument, then any related arguments after that:

    Code:
    hiddenchange: function(component, floating) {
    
    }
    Unfortunately in some cases, this does not happen. We are improving the event signatures drastically in ST2 before GA.

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