I am building an API using google closure.
I want to access a method of a superclass A, from within a method with the same name from the child class B.
Please, see the following pseudo-code:
Superclass A
class A {
move: function() { ... }
}
Child class B
class B extends A {
// B has its own 'move' method which uses the 'move' method from A
move: function() {
parentClass_.move();
}
}
I read somewhere that the keyword 'parentClass' does this. I read here that it is the keyword 'superClass_' who does this.
None of them work. Maybe I am doing it wrong.
Would someone please help me?
Thanks.
João