feat(views/geomap): create empty view type

This commit is contained in:
Elian Doran
2025-07-06 11:13:17 +03:00
parent 8efef6842d
commit 7ea37b9eb9
2 changed files with 29 additions and 2 deletions

View File

@@ -0,0 +1,23 @@
import ViewMode, { ViewModeArgs } from "../view_mode.js";
const TPL = /*html*/`
<div class="geo-view">
Geo View is not implemented yet.
</div>`;
export default class GeoView extends ViewMode<{}> {
private $root: JQuery<HTMLElement>;
constructor(args: ViewModeArgs) {
super(args, "geoMap");
this.$root = $(TPL);
args.$parent.append(this.$root);
}
async renderList() {
console.log("Rendered");
return this.$root;
}
}