When I invoke this.Super("initWidget") in derived widget, the browser is giving an exception
**TypeError: this.Super is not a function**
Can anyone help me solve this issue?
When I invoke this.Super("initWidget") in derived widget, the browser is giving an exception
**TypeError: this.Super is not a function**
Can anyone help me solve this issue?
this and super are keywords. this refers to the current object, while super refers to the parent class. If you try to invoke super, you are invoking the super class' constructor. In your case with one parameter. You should use only
super("initWidget");
because the dot operator after the this means you want to use a method in the current object.