1. #1
    Sencha User
    Join Date
    Aug 2011
    Posts
    28
    Answers
    2
    Vote Rating
    3
    iron9light is on a distinguished road

      0  

    Default Unanswered: How many xtype can one widget have?

    Unanswered: How many xtype can one widget have?


    Code:
    Ext.define "A",
      xtype: "a"
    
    Ext.define "B",
      extend: "A"
      xtype: "b"
    the selector "a" can find instance of class "B"

  2. #2
    Sencha - Training Team mrsunshine's Avatar
    Join Date
    Sep 2008
    Location
    Germany - Darmstadt
    Posts
    691
    Answers
    21
    Vote Rating
    12
    mrsunshine will become famous soon enough

      0  

    Default


    It have only one xtype

  3. #3
    Sencha User
    Join Date
    Aug 2011
    Posts
    28
    Answers
    2
    Vote Rating
    3
    iron9light is on a distinguished road

      0  

    Default


    Code:
      config:
        refs:
          a: "a"
      control
        a:
          tap: -> console.info "a tapped"
    This will show info when I tap widget of "b"

  4. #4
    Sencha - Training Team mrsunshine's Avatar
    Join Date
    Sep 2008
    Location
    Germany - Darmstadt
    Posts
    691
    Answers
    21
    Vote Rating
    12
    mrsunshine will become famous soon enough

      0  

    Default


    yes, but couse of the hierarchy your componet query can xtpes deeper in the inherence hierarchy


    HIERARCHY

    Ext.Base -> Ext.Evented -> Ext.Abstrac -> tComponent -> Ext.Component -> Ext.Container -> Your component


    may the document query doc helps you understanding whats happen internally when you defien a ref

    http://docs.sencha.com/touch/2-0/#!/...y-method-query

Thread Participants: 1

Tags for this Thread

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