Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Sencha Premium Member
    Join Date
    Feb 2013
    Posts
    10
    Vote Rating
    0
    miary is on a distinguished road

      0  

    Default Architect 2.2 Controller Control ControlQuery

    Architect 2.2 Controller Control ControlQuery


    In Architect, I entered the following:

    refs: theEyeBtn
    Selector: 'div[class*=x-button-back]'

    To make sure that my selector is corrrect, I went to browser console and issue the command:
    var mydiv = Ext.DomQuery.selectNode('div[class*=x-button-back]');

    This works properly and mydiv contains the element that I'm expecting.

    Below is the code that Architect generates and when I click on the button, it does not work. The console does not show any output. What is wrong? Thanks!

    Ext.define('EyeExam.controller.MyEyeButton', {
    extend: 'Ext.app.Controller',


    config: {
    refs: {
    theEyeBtn: 'div[class*=x-button-back]'
    },


    control: {
    "theEyeBtn": {
    tap: 'onButtonTap'
    }
    }
    },


    onButtonTap: function(button, e, eOpts) {
    console.log("the eye btn was tapped");
    }


    });

  2. #2
    Sencha Premium Member
    Join Date
    Dec 2009
    Location
    Rhode Island
    Posts
    223
    Vote Rating
    21
    dmulcahey will become famous soon enough dmulcahey will become famous soon enough

      0  

  3. #3
    Sencha Premium Member
    Join Date
    Feb 2013
    Posts
    10
    Vote Rating
    0
    miary is on a distinguished road

      0  

    Default


    That worked, thanks!!

Thread Participants: 1