Skip to content
Snippets Groups Projects
Commit 7847da41 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

JSdoc added

parent 78c44421
No related branches found
No related tags found
1 merge request!295Resolve "alternative to google maps api way of visualizing maps"
......@@ -100,6 +100,10 @@ Panel.prototype.getPanelName = function () {
return this._panelName;
};
/**
*
* @param {HTMLElement} element
*/
Panel.prototype.setElement = function (element) {
if (element === undefined || element === null) {
throw new Error("DOM Element must be defined");
......@@ -107,6 +111,10 @@ Panel.prototype.setElement = function (element) {
this._element = element;
};
/**
*
* @returns {HTMLElement}
*/
Panel.prototype.getElement = function () {
return this._element;
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment