mirror of
https://github.com/zadam/trilium.git
synced 2025-11-08 06:15:48 +01:00
feat(views/geomap): create empty view type
This commit is contained in:
23
apps/client/src/widgets/view_widgets/geo_view/index.ts
Normal file
23
apps/client/src/widgets/view_widgets/geo_view/index.ts
Normal 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;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user