In my lightning component, I am actually extending a component , and trying to access its helper method, but fail to do so.
My super component has this method defined :
closeModal : function(component) {
........
}
In my child component helper im trying to access the super helper like this :
this.closeModal(component.getSuper());
I also tried this :
component.getSuper().getHelper().closeModal(component.getSuper());
But nothing happens. So I think that it should be called another way, but how ? I didn't see any documentation on this. Only found this explanation on the following blog : http://peterknolle.com/lightning-component-inheritance/
"There is also a method to get the super component from the sub component context, component.getSuper()."
But they do not give any example.