Results 1 to 5 of 5

Thread: What's xclass?

  1. #1
    Sencha User jsveron23's Avatar
    Join Date
    Feb 2011
    Location
    Seoul, Korea
    Posts
    78
    Answers
    1
    Vote Rating
    2
      0  

    Default Unanswered: What's xclass?

    Whats mean this exactly? Any1 know? Plz.

  2. #2
    Sencha User
    Join Date
    Jan 2011
    Posts
    134
    Answers
    6
    Vote Rating
    5
      0  

    Question 2nd this request for definition xclass?

    Searched the API documentation for ST2-RC - no mention of xclass. It is used in O'Reilly sample code. Any explanation would be greatly appreciated.

    Thanks in advance
    JRS

  3. #3
    Sencha Premium Member
    Join Date
    Apr 2009
    Posts
    285
    Answers
    9
    Vote Rating
    21
      0  

    Default

    I would also like an explanation of xclass. It seems that you use it in a manner similar to xtype, except that xclass is the name of the class not an xtype, but an official description about what this is would be helpful. For example, it seems that you can use this in places where you might normally do an Ext.create('classname'), i.e. Ext.Viewport.add({xclass: 'Foo.view.Main'}) instead of Ext.Viewport.add(Ext.create('Foo.view.Main'));

  4. #4
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,388
    Answers
    716
    Vote Rating
    499
      0  

    Default

    Please read the following:
    http://www.sencha.com/forum/showthread.php?194447

    Scott.

  5. #5
    Sencha User jep's Avatar
    Join Date
    Sep 2010
    Posts
    862
    Answers
    1
    Vote Rating
    24
      0  

    Default

    Still no documentation in ST 2 mentioning xclass (looking in ST 2.1 RC2).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •