mirror of
https://github.com/zadam/trilium.git
synced 2025-11-07 13:56:11 +01:00
24 lines
485 B
TypeScript
24 lines
485 B
TypeScript
|
|
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;
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|