Add getController method to get access to nm controller object

This commit is contained in:
Hadi Nategh 2020-02-28 14:45:58 +01:00
parent 0065f9b044
commit b47a0917d2
2 changed files with 8 additions and 0 deletions

View File

@ -167,6 +167,9 @@ var et2_nextmatch = /** @class */ (function (_super) {
this.dynheight.destroy();
_super.prototype.destroy.call(this);
};
et2_nextmatch.prototype.getController = function () {
return this.controller;
};
/**
* Loads the nextmatch settings
*

View File

@ -324,6 +324,11 @@ export class et2_nextmatch extends et2_DOMWidget implements et2_IResizeable, et2
super.destroy();
}
getController()
{
return this.controller;
}
/**
* Loads the nextmatch settings
*