Results 1 to 2 of 2

Thread: What does 'onClassExtended' do when defining a class?

  1. #1
    Sencha User
    Join Date
    Jan 2015
    Posts
    29

    Default What does 'onClassExtended' do when defining a class?

    Code:
    Ext.define('Algo.data.Simulated',{    
        requires:[//....],    
        onClassExtended:function(cls, data){// ....}
    })
    

    Here is the code. I cannot find any documentation about it on Sencha's website. Also, what do cls and data mean?

  2. #2
    Sencha Premium User evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    19,254
    Answers
    759

    Default

    Seems like you already asked here and got a pretty good answer: http://stackoverflow.com/questions/3...fining-a-class
    Twitter - @evantrimboli
    Former Sencha framework engineer, available for consulting.
    As of 2017-09-22 I am not employed by Sencha, all subsequent posts are my own and do not represent Sencha in any way.

Similar Threads

  1. Defining listeners - Class vs Object
    By Notepad123 in forum Sencha Touch 2.x: Discussion
    Replies: 6
    Last Post: 9 Oct 2014, 9:12 AM
  2. Defining A Class Property As Object
    By rnxfod in forum Ext: Q&A
    Replies: 1
    Last Post: 9 Jul 2013, 5:14 AM
  3. Defining combo in separate class
    By jpcook01 in forum Ext: Q&A
    Replies: 3
    Last Post: 7 Sep 2011, 8:19 AM
  4. Improvement: Defining an encapsulated class
    By apleshkov in forum Ext:Bugs
    Replies: 12
    Last Post: 23 May 2011, 9:12 AM
  5. Replies: 6
    Last Post: 13 May 2011, 12:35 AM

Posting Permissions

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