1. #1
    Sencha User MikeB's Avatar
    Join Date
    Feb 2008
    Location
    Northern Md
    Posts
    104
    Vote Rating
    0
    MikeB is on a distinguished road

      0  

    Default Assigning options to event handlers in Architect 2.1

    Assigning options to event handlers in Architect 2.1


    I have a panel which I'm looking to assign an event handler to but can't figure out how to apply additional attributes as I would if writing the code directly.

    For example, what I WANT to do is as follows:
    Code:
    panel.body.on('click', clickHandler, scope, {delegate: 'button'});
    But it appears that when Architect renders the code it simply assigns the function directly with no options (that I can find) to assign other parameters:
    Code:
    init: function(application) {    this.control({"panel" : { click : this.onPanelClick  }});
    }
    Any suggestions on how I can pass things like the scope or delegate options in Architect?

    Thanks
    MikeB

  2. #2
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,168
    Vote Rating
    119
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    If its an event handler the additional options will appear in the bottom right of the property grid.

    Controller Actions like you've shown above don't have those additional options you're looking for, ie single, buffer, delegate, etc
    Aaron Conran
    @aconran
    Sencha Architect Development Team

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..."