Threaded View
-
2 Oct 2010 2:39 AM #1
Arguments variable in the Constructor Model
Arguments variable in the Constructor Model
Hello,
I've been looking at the "Extending Ext for Newbies" Tutorial and have a fairly basic question...
In the superclass constructor call to apply, where does the variable "arguments" come from?
Cheers,PHP Code:// MyPanel Extends Ext.Panel
MyPanel = Ext.extend(Ext.Panel, {
// constructor function
constructor: function(config) {
Ext.apply(this, {
// Put your pre-configured config options here
width: 300,
height: 300
});
MyPanel.superclass.constructor.apply(this, arguments);
}
});
Hobo
Similar Threads
-
Variable number of fields inside a model
By kortovos in forum Sencha Touch 1.x: DiscussionReplies: 2Last Post: 27 Sep 2010, 4:14 AM -
[Solved] [IE] Can not update chart model when model is not visible
By Aldehan in forum Ext GWT: DiscussionReplies: 2Last Post: 17 Jun 2010, 6:53 AM -
[FIXED][3.0] My store changed from an object variable to a class variable!!!
By frew in forum Ext 3.x: BugsReplies: 7Last Post: 9 Apr 2009, 10:17 AM -
[FIXED] [3.0] My store changed from an object variable to a class variable!!!
By frew in forum Ext 2.x: BugsReplies: 7Last Post: 9 Apr 2009, 10:17 AM -
Help! - How do you use arguments?
By johnstontrav in forum Ext 2.x: Help & DiscussionReplies: 2Last Post: 28 May 2008, 3:41 PM


Reply With Quote