"use strict";
const views = require("../util/views.js");
const template = () => {
return views.htmlToDom(
'
'
);
};
class EmptyView {
constructor() {
this._hostNode = document.getElementById("content-holder");
views.replaceContent(this._hostNode, template());
views.syncScrollPosition();
}
showError(message) {
views.showError(this._hostNode, message);
}
}
module.exports = EmptyView;