PDA

View Full Version : Call a mixin class method inside the initComponent method



saddanand
27 Mar 2014, 11:06 PM
Hi Guys,
What is the correct syntax to call a mixin class method inside the initComponent method of the containing class.
Thanks...

Fredric Berling
29 Mar 2014, 1:06 AM
The mixin functions are present in initComponent in the scope of the containing class



initComponent:function(){

this.myMixinFunction();

this.callParent();

}